fixes #322 - Sleep and Network Shares

This commit is contained in:
Luke Pulverenti 2013-06-02 09:43:53 -04:00
parent e9aa4e0ded
commit 5fc327c232

View File

@ -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();
}