Removed the thread that watches file changes#366
Removed the thread that watches file changes#366RandallFlagg wants to merge 2 commits intoLogExperts:Developmentfrom
Conversation
|
i'll check, first thing that comes to my mind, is a logfile that is loaded from a network drive and updated on said network drive. I'll test that on Monday, since I don't have that kind of setup at home |
|
I'll tested it a little bit this is version 1.12 version and your branch both have the same result I tested it also with the version 1.9.0 and |
|
after a little bit more testing, it seems that only this branch is affected by the slow down, so in this branch I'm unable to work on a file that has 20 loglines written into it every 10ms, the UI just freezes |
|
Now I tested this with the network per your suggestion and the UI doesn't get updated. If I open it as a regular file (which is how I originally tested it) it seems to work well. I just pushed a fix for the Can you tell me if the behavior in the file mode (local and remote) is working as intended? I am now going to see what the issue with SFTP is. |
not sure what you mean :D, I just opened the file and let a second program write into that file, to simulate a concurrently written logfile, and the current implementation starts to slow down when writing 20 lines per 10 ms into the opened file. |
ba87259 to
d644b03
Compare
This is what I did. Tell me if you did something else:
The fix I did today is for steps 5 and 6. |
|
thanks, I will test with the updated changes |
|
@Hirogen I get an exception when trying to open an SFTP. I get that Renci.SshNet(or something like that) is missing when trying to access SFTP. Can you check it on your system with a clean repo and tell me what I am missing? I can't seem to find it in my source dir. I can try to locate it at other places but I don't think that it is the right way to go. |
will check in the evening |
I dont get that error, everything is fine with me, have you cleared bin / obj folders? |
Handle local file and file:// URI. SFTP not working.
d644b03 to
c50c22e
Compare
# Conflicts: # src/LogExpert.Core/Classes/Log/LogfileReader.cs # src/LogExpert.Core/LogExpert.Core.csproj


@Hirogen can you test this and tell me if there are any issues? I don't know all the places this can be reached by and also can't test all of them as most of the time I am on Linux.
Should improve system resources and handle file event much better.
Might affect the following issues: #16, #40, #129, #157.