Skip to content

Commit

Permalink
Don't flatline one CPU core scanning log files
Browse files Browse the repository at this point in the history
  • Loading branch information
stringandstickytape committed Jan 24, 2015
1 parent 2b5d7b3 commit 39941a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RegulatedNoise/Elite Dangerous Specifics/EdLogWatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Threading;
using EdClasses.ClassDefinitions;

namespace RegulatedNoise
Expand Down Expand Up @@ -90,6 +91,8 @@ private void _edLogWatcherBackgroundWorker_DoWork(object sender, DoWorkEventArgs
}
}

Thread.Sleep(10000);

} while (!e.Cancel);
}
}
Expand Down

0 comments on commit 39941a9

Please sign in to comment.