Timeout Handling in Radar Agent
In the Radar system, a fixed connection timeout of 90 seconds is hardcoded for establishing a link with a remote system. Once connected, we enforce a deadline of 270 seconds for both read and write operations, derived by tripling the initial connection timeout.
For extended read and write operations, there is no mechanism to dynamically extend the deadline. This may lead to timeouts if data retrieval from the remote system exceeds the allotted timeframe.
To provide clarity, when referring to the "deadline" in the context of Radar's timeout handling, it signifies that the entire response, encompassing every last byte, must be read within 270 seconds or less. This is distinct from a scenario where the 270 seconds would serve as the read timeout between successive chunks of bytes retrieved from the server— a structure reminiscent of Python's requests module.