org-arl / fjage

Framework for Java and Groovy Agents
https://fjage.readthedocs.io/en/latest/
Other
25 stars 13 forks source link

Enforce timeout with slave containers even if interrupted #302

Closed mchitre closed 5 months ago

mchitre commented 5 months ago

It seems that if a connection comes in before master container is fully ready, it often interrupts the printlnAndGetResponse() thread. While it is unclear who raises the interrupt, the result is a premature timeout for requests from master to slave. This causes slaves to be kicked out and bad things to happen. This PR fixes this by enforcing the timeout and pushing the interrupt up for handling.