Change monotonic_clock to get time in milliseconds for the epoll API
authorGabriel Braga <gabriel.braga@intra2net.com>
Tue, 9 Apr 2024 15:31:36 +0000 (17:31 +0200)
committerGabriel Braga <gabriel.braga@intra2net.com>
Tue, 9 Apr 2024 15:31:36 +0000 (17:31 +0200)
commit4d0ed822e39b4a190cac779f2a39df01b557741a
tree22cfd2416dcd1ae1a76132ab5ced0a7f7571aa38
parent219c71d489d9ed1de6a5232f96f7f8a299e57d15
Change monotonic_clock to get time in milliseconds for the epoll API

Previously the clock would return in seconds, which is not the epoll's
standards. This fixes it.
src/command_client.cpp
src/monotonic_clock.cpp
src/monotonic_clock.hxx
src/server.cpp