Merge pull request #424 from bebehei/timeout-fixes

Fixup fields to count in monotonic usec time
This commit is contained in:
Nikos Tsipinakis 2017-11-02 07:36:23 +02:00 committed by GitHub
commit c481760ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ bool queues_notification_replace_id(notification *new)
notification *old = iter->data;
if (old->id == new->id) {
iter->data = new;
new->start = time(NULL);
new->start = g_get_monotonic_time();
new->dup_count = old->dup_count;
notification_run_script(new);
queues_history_push(old);