Refactor Daemon.py in Node daemon #131
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The main
Daemon.py
module is extremely long and complex, and suffers from the "execute on import" issue.Revamp the
Daemon.py
module to be more dynamic and simple, including splitting more functionality out to separate modules/files a lafencing.py
. Additional improvement ideas include using multiprocessing to spawn the keepalive data collecting in a separate process (rather than a thread), as well as reordering some component to ensure optimal startup performance and consistency.Due to the complex web of dependencies, this turned out to not be particularly easy, and I don't think it really achieves anything useful.
closed