bump the client API response timeout 60 -> 300 (#7406)
This commit is contained in:
@ -508,8 +508,9 @@ impl EngineManager for EngineConnection {
|
||||
.await?;
|
||||
|
||||
// Wait for the response.
|
||||
let response_timeout = 300;
|
||||
let current_time = std::time::Instant::now();
|
||||
while current_time.elapsed().as_secs() < 60 {
|
||||
while current_time.elapsed().as_secs() < response_timeout {
|
||||
let guard = self.socket_health.read().await;
|
||||
if *guard == SocketHealth::Inactive {
|
||||
// Check if we have any pending errors.
|
||||
|
Reference in New Issue
Block a user