mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
increase master history to 7 day, up from 1 day
This commit is contained in:
@ -30,7 +30,11 @@ namespace SharedLibraryCore
|
||||
/// <summary>
|
||||
/// client is doing too much of something
|
||||
/// </summary>
|
||||
Throttle
|
||||
Throttle,
|
||||
/// <summary>
|
||||
/// the event timed out before completion
|
||||
/// </summary>
|
||||
Timeout
|
||||
}
|
||||
|
||||
public enum EventType
|
||||
@ -225,7 +229,9 @@ namespace SharedLibraryCore
|
||||
{
|
||||
return Task.Run(() =>
|
||||
{
|
||||
OnProcessed.Wait(timeSpan, token);
|
||||
bool processed = OnProcessed.Wait(timeSpan, token);
|
||||
// this let's us know if the the action timed out
|
||||
FailReason = FailReason == EventFailReason.None & !processed ? EventFailReason.Timeout : FailReason;
|
||||
return this;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user