marcus67 / little_brother

Parental Control Application implemented in Python 3 packaged for Debian and Ubuntu to monitor and limit kids' play time on Linux hosts
GNU General Public License v3.0
59 stars 9 forks source link

HTTP call from client to master hangs for too long in case of timeout #174

Closed marcus67 closed 2 years ago

marcus67 commented 2 years ago

An unresponsive master can cause the client to wait for a response for up to 100 seconds or more. This screws up the timing and makes the client unresponsive to other tasks. A quick fix would be to activate a maximum time of a configurable duration with a default of e.g. 5 seconds.

marcus67 commented 2 years ago

Closed in eaae776b56b0003ff7478d1d7fa5e0b4b6a8ba81

rosydawn6 commented 2 years ago

Confirmed in my 3 node client/server configuration that after overloading and restarting the server the clients are able to communicate effectively without a restart