Merge pull request #424 from bebehei/timeout-fixes
Fixup fields to count in monotonic usec time
This commit is contained in:
commit
c481760ae1
@ -157,7 +157,7 @@ bool queues_notification_replace_id(notification *new)
|
|||||||
notification *old = iter->data;
|
notification *old = iter->data;
|
||||||
if (old->id == new->id) {
|
if (old->id == new->id) {
|
||||||
iter->data = new;
|
iter->data = new;
|
||||||
new->start = time(NULL);
|
new->start = g_get_monotonic_time();
|
||||||
new->dup_count = old->dup_count;
|
new->dup_count = old->dup_count;
|
||||||
notification_run_script(new);
|
notification_run_script(new);
|
||||||
queues_history_push(old);
|
queues_history_push(old);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user