fixes #322 - Sleep and Network Shares
This commit is contained in:
parent
e9aa4e0ded
commit
5fc327c232
|
@ -48,7 +48,7 @@ namespace MediaBrowser.Common.ScheduledTasks
|
|||
if (e.Mode == PowerModes.Resume && SystemEvent == SystemEvent.WakeFromSleep)
|
||||
{
|
||||
// This value is a bit arbitrary, but add a delay to help ensure network connections have been restored before running the task
|
||||
await Task.Delay(5000).ConfigureAwait(false);
|
||||
await Task.Delay(10000).ConfigureAwait(false);
|
||||
|
||||
OnTriggered();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user