Skip to content
Snippets Groups Projects
Commit 846d11cb authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

[*] Few small fixes

parent e36fc955
No related branches found
No related tags found
2 merge requests!330features-4787,!326Release 2.9
......@@ -62,7 +62,7 @@
#define LOG_TAG "dap_worker"
static time_t s_connection_timeout = 60; // seconds
static bool s_debug_reactor=true;
static bool s_debug_reactor=false;
static bool s_socket_all_check_activity( void * a_arg);
static void s_queue_add_es_callback( dap_events_socket_t * a_es, void * a_arg);
......
......@@ -168,7 +168,7 @@ static void s_stage_status_error_callback(dap_client_t *a_client, void *a_arg)
if (l_node_client->keep_connection) {
uint128_t *l_uuid = DAP_NEW(uint128_t);
memcpy(l_uuid, &l_node_client->uuid, sizeof(uint128_t));
dap_timerfd_start_on_worker(dap_events_worker_get_auto(),s_timer_update_states*1000,s_timer_update_states_callback, l_uuid);
dap_timerfd_start_on_worker(l_node_client->stream_worker? l_node_client->stream_worker->worker: dap_events_worker_get_auto(),s_timer_update_states*1000,s_timer_update_states_callback, l_uuid);
}
return;
}
......
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