Closed okraits closed 8 months ago
I suggest to send a hotplug event after each check cycle, before going to sleep. This would be at that position:
https://github.com/openwisp/openwisp-config/blob/master/openwisp-config/files/openwisp.agent#L958
This would make it possible to trigger an action each time the client has checked for configuration changes.
We could name it end-of-cycle, end-of-pass, end-of-run, sleep.
end-of-cycle
end-of-pass
end-of-run
sleep
I suggest to send a hotplug event after each check cycle, before going to sleep. This would be at that position:
https://github.com/openwisp/openwisp-config/blob/master/openwisp-config/files/openwisp.agent#L958
This would make it possible to trigger an action each time the client has checked for configuration changes.
We could name it
end-of-cycle
,end-of-pass
,end-of-run
,sleep
.