mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix activity watcher timeout bug (#2049)
any blank lines in roblox's log file would cause the activity watcher to timeout for 1 second which was severely affecting performance
This commit is contained in:
parent
8464da0c2b
commit
5a0808639e
@ -112,8 +112,8 @@
|
|||||||
{
|
{
|
||||||
string? log = await sr.ReadLineAsync();
|
string? log = await sr.ReadLineAsync();
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(log))
|
if (log is null)
|
||||||
logUpdatedEvent.WaitOne(1000);
|
logUpdatedEvent.WaitOne(250);
|
||||||
else
|
else
|
||||||
ExamineLogEntry(log);
|
ExamineLogEntry(log);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user