mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -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();
|
||||
|
||||
if (string.IsNullOrEmpty(log))
|
||||
logUpdatedEvent.WaitOne(1000);
|
||||
if (log is null)
|
||||
logUpdatedEvent.WaitOne(250);
|
||||
else
|
||||
ExamineLogEntry(log);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user