darwin
darwin copied to clipboard
[BUG] Manager filter startup timeout is too short
Describe the bug During tests on Vulture, activation of DGA filter failed several times due to the manager considering the filter did not daemonize soon enough.
Plateform:
- OS (version): HBSD 12.2
- Darwin version: 1.4
To Reproduce Steps to reproduce the behavior:
- Install darwin and proprietary dga filter
- add dga to the list of filters to run (either through GUI, or directly in darwin.conf)
- try hot starting the filter (update command on manager)
- sometimes, the manager canfail launching the filter, as it does not daemonize within 1 second
Expected behavior The manager should successfully start the DGA filter
Screenshots/logs
Additional context DGA is one of the filter that could take the longest time loading at startup, as it has to load all Tensorflow environnment, the hard-coded timeout of 1 in manager filter start sequence is probably too short, and could be incremented by some amout