You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by rr...@apache.org on 2020/05/12 14:40:21 UTC
[trafficserver] branch master updated: Correct
`schedule_every_local` to schedule locally
This is an automated email from the ASF dual-hosted git repository.
rrm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 3947524 Correct `schedule_every_local` to schedule locally
3947524 is described below
commit 3947524651ceab213b1cabae0fcb07ed172b822c
Author: George Hahn <ge...@netlify.com>
AuthorDate: Mon May 11 16:22:03 2020 -0500
Correct `schedule_every_local` to schedule locally
This appears to be from a copy-paste bug in
96e0aca148a2776ce2b095732733987c2e6a86ce
---
iocore/eventsystem/P_UnixEThread.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/iocore/eventsystem/P_UnixEThread.h b/iocore/eventsystem/P_UnixEThread.h
index 0ca962a..520ffdf 100644
--- a/iocore/eventsystem/P_UnixEThread.h
+++ b/iocore/eventsystem/P_UnixEThread.h
@@ -135,9 +135,9 @@ EThread::schedule_every_local(Continuation *cont, ink_hrtime t, int callback_eve
e->callback_event = callback_event;
e->cookie = cookie;
if (t < 0) {
- return schedule(e->init(cont, t, t));
+ return schedule_local(e->init(cont, t, t));
} else {
- return schedule(e->init(cont, get_hrtime() + t, t));
+ return schedule_local(e->init(cont, get_hrtime() + t, t));
}
}