From 100a176d3a66d96971b2dbecda56adde12755365 Mon Sep 17 00:00:00 2001 From: Joshua Baergen Date: Fri, 20 Jan 2023 09:19:30 -0700 Subject: [PATCH] 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 --- src/msg/async/Event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msg/async/Event.h b/src/msg/async/Event.h index 753a7c699f25b..a595667e447bd 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); -- 2.39.5