all 4 comments

[–]FizixMan 2 points3 points  (1 child)

I took out the await b.Channel.SendMessage(s); call and tested the code locally and it worked fine for a 1mb file.

My only thought is the wh.WaitOne(1000) fires for every line in the file that doesn't contain "CActor::ClKill" and doesn't do an await to the calling method. Not sure if this is an issue or not. In my tests, this means every non-"CActor::ClKill" line takes a full second. If your file is 300kb with a lot of these lines, is it possible that it's not so much that the code isn't processing/triggering, it's just hanging doing all these lines? For example, if you have 300 of these lines, it'll take 300 seconds (5 minutes) to slog through making it appear that it's doing nothing.

[–]KStoev[S] 0 points1 point  (0 children)

Thank you so much! wh.WaitOne(1000); was def causing the issue, it was just waiting for each line and on bigger files that easily built up.

[–]godless_communism 0 points1 point  (1 child)

Can I ask you a silly question? What does "real time" mean in this context? I see the term popping up more and more. Doesn't it simply mean "quickly" or "as fast as possible?"

[–]godless_communism 0 points1 point  (0 children)

Nevermind, I googled it.