From fa55a37cd00107ae5e85328035f483a47e037faa Mon Sep 17 00:00:00 2001 From: rkhapov Date: Sat, 19 Oct 2024 12:40:54 +0300 Subject: [PATCH] sources/backend.c: timeout for od_backend_ready_wait 'Infinite' timeout leads to client's free stuck. Signed-off-by: rkhapov Signed-off-by: rkhapov --- sources/backend_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/backend_sync.c b/sources/backend_sync.c index 1a557c1b3..7ce23907b 100644 --- a/sources/backend_sync.c +++ b/sources/backend_sync.c @@ -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?*/); } \ No newline at end of file