Browse Source

Fix watchdog

master
Jeroen Vreeken 9 months ago
parent
commit
d7a75d77d8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      dml_reflector.c

+ 2
- 1
dml_reflector.c View File

@ -156,7 +156,8 @@ static gboolean parrot_dequeue(void *data)
if (parrot_queue) {
struct parrot_data *entry = parrot_queue;
g_timeout_add_seconds(DML_REFLECTOR_DATA_KEEPALIVE, parrot_dequeue, &watchdog);
g_source_remove_by_user_data(&watchdog);
g_timeout_add_seconds(DML_REFLECTOR_DATA_KEEPALIVE, watchdog, &watchdog);
struct timespec ts;
clock_gettime(CLOCK_REALTIME, &ts);


Loading…
Cancel
Save