From: Joshua Baergen Date: Fri, 20 Jan 2023 16:19:30 +0000 (-0700) Subject: async: Fix units in the create_time_event() declaration. X-Git-Tag: v19.0.0~799^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F49810%2Fhead;p=ceph.git async: Fix units in the create_time_event() declaration. Commit 19a9d9531fab4627cafbb2915566c512c41077a8 changed the definition to microseconds but neglected to update the header. Signed-off-by: Joshua Baergen --- diff --git a/src/msg/async/Event.h b/src/msg/async/Event.h index 753a7c699f25..a595667e447b 100644 --- a/src/msg/async/Event.h +++ b/src/msg/async/Event.h @@ -205,7 +205,7 @@ class EventCenter { // Used by internal thread int create_file_event(int fd, int mask, EventCallbackRef ctxt); - uint64_t create_time_event(uint64_t milliseconds, EventCallbackRef ctxt); + uint64_t create_time_event(uint64_t microseconds, EventCallbackRef ctxt); void delete_file_event(int fd, int mask); void delete_time_event(uint64_t id); int process_events(unsigned timeout_microseconds, ceph::timespan *working_dur = nullptr);