Skip to content

Commit

Permalink
sources/backend.c: timeout for od_backend_ready_wait (#705)
Browse files Browse the repository at this point in the history
'Infinite' timeout leads to client's free stuck.

Signed-off-by: rkhapov <[email protected]>
Signed-off-by: rkhapov <[email protected]>
Co-authored-by: rkhapov <[email protected]>
(cherry picked from commit 72e4543)
Signed-off-by: rkhapov <[email protected]>
  • Loading branch information
2 people authored and rkhapov committed Oct 28, 2024
1 parent b0422c6 commit fa30b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/backend_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ int od_backend_request_sync_point(od_server_t *server)
od_server_sync_request(server, 1);

return od_backend_ready_wait(server, "sync-point", 1 /*count*/,
UINT32_MAX /* timeout */,
1000 /* timeout 1 sec */,
0 /*ignore error?*/);
}

0 comments on commit fa30b51

Please sign in to comment.