Skip to content
Snippets Groups Projects
Commit ce3f7afc authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Fixed timeouts

parent a593d7b8
No related branches found
No related tags found
No related merge requests found
Pipeline #6275 passed with stage
in 12 seconds
......@@ -551,7 +551,7 @@ int dap_chain_node_client_wait(dap_chain_node_client_t *a_client, int a_waited_s
#ifndef _WIN32
// prepare for signal waiting
struct timespec l_cond_timeout;
uint32_t l_timeout_s = dap_config_get_item_uint32_default(g_config,"chain_net","status_wait_timeout",10);
uint32_t l_timeout_s = a_timeout_ms/1000;// dap_config_get_item_uint32_default(g_config,"chain_net","status_wait_timeout",10);
clock_gettime( CLOCK_MONOTONIC, &l_cond_timeout);
l_cond_timeout.tv_sec += l_timeout_s;
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment