You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/05/13 20:54:17 UTC
[trafficserver] branch 8.1.x updated: Correct
`schedule_every_local` to schedule locally
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.1.x by this push:
new a894f1b Correct `schedule_every_local` to schedule locally
a894f1b is described below
commit a894f1b536bb9a48fe3f1bb163b6ca46b80dbe97
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
(cherry picked from commit 3947524651ceab213b1cabae0fcb07ed172b822c)
---
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 45931e6..6b7955f 100644
--- a/iocore/eventsystem/P_UnixEThread.h
+++ b/iocore/eventsystem/P_UnixEThread.h
@@ -133,9 +133,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));
}
}