Make minor improvements to scheduler
- Truncate descriptions
While running some local performance tests of the bridge descriptor sanitizer I noticed a few possible improvements:
-
I noticed that the default configuration changed some paths, like, move multiple directories under
out/
. Can we undo that change, so that CollecTor uses the exact same paths in the new default configuration as previously? -
The
recent/
directory is not truly configurable. I can change that along with the other bugfixes to the bridge descriptor sanitizer, if you want. -
It seems like the scheduler calculates how many minutes it needs to sleep from the current system time to start the next run with
x
minutes offset from the period ofy
minutes. Example: system time is 20:43:15.123, period is 60 minutes, offset is 44 minutes, the scheduler will start the next run at 20:44:15.123, but really it should start it at 20:44:00.000. -
Can we add a mode to run a given module immediately, skipping the scheduler entirely? That would be quite useful for testing, batch-processing, and maybe other purposes. Onionoo has such a mode with
--single-run
(or however it's called). But please don't break the design too much to make this work, if it's too ugly, skip this.
- Show labels
- Show closed items