variar / klogg

Really fast log explorer based on glogg project
https://klogg.filimonov.dev
GNU General Public License v3.0
2.29k stars 198 forks source link

Default of Polling Interval #301

Open MichaRotstein opened 3 years ago

MichaRotstein commented 3 years ago

The default value for Polling Interval - 2000ms if too large for most common usages ie tailing log files, I suggest changing it to 500ms or 1000ms

Thanks!

variar commented 3 years ago

Polling is designed for scenarios when native file watch is not available. Most common case is monitoring file from network drive (sshfs, samba, Windows shared folders etc.) Reducing polling interval might lead to too many network requests.

I'll try to profile 1s interval.