DVDAGames/elite-dangerous-journal-server

Make polling interval configurable

ericrallen opened this issue · 0 comments

Due to the potential for performance issues and high CPU usage with polling, the user should be able to determine the desired polling interval based on the needs of their application.

If possible, find some values that are too high to effectively work with the general frequency of Journal updates and some that are too low to allow the system to run without degraded performance and document those potential upper and lower bounds on the polling interval.

NOTE: It may also be worth it to explore allowing the user to configure the Journal Server to only use fs.watch() and not broadcast in real-time, but wait until a play session has ended. This seems a bit out of the scope of this project, though.