Add a throttle for "Listened connection for namespace '%s' for up to %ds" messages
Currently the connection listeners use the following code:
if bytes_read > 0:
self.logger.debug(
"Listened to connection for namespace '%s' done",
feedback[0],
)
The issue is that it might log for every byte red which spams the logs with repetitive messages.
I think it would be better to have a limit on how often this log happens. (for example, only log it if 3 second have passed since last log)
Also there is a some code repetition between
lava_dispatcher/power.py
lava_dispatcher/actions/test/interactive.py
lava_dispatcher/actions/test/shell.py
I think there is a place for a reusable function between those files.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information