]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
async: Fix units in the create_time_event() declaration. 49810/head
authorJoshua Baergen <jbaergen@digitalocean.com>
Fri, 20 Jan 2023 16:19:30 +0000 (09:19 -0700)
committerJoshua Baergen <jbaergen@digitalocean.com>
Tue, 25 Jul 2023 16:37:18 +0000 (10:37 -0600)
Commit 19a9d9531fab4627cafbb2915566c512c41077a8 changed the definition
to microseconds but neglected to update the header.

Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
src/msg/async/Event.h

index 753a7c699f25bed6e64cdab7e812503659ca8521..a595667e447bd1d8b4b6a98389a9ef659bfa96a2 100644 (file)
@@ -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);