diff options
-rw-r--r-- | src/server/server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/server.cc b/src/server/server.cc index 8361b19..c464b13 100644 --- a/src/server/server.cc +++ b/src/server/server.cc @@ -132,7 +132,7 @@ std::shared_ptr<p18::response_type::BaseResponse> Server::executeCommand(p18::Co u64 diff = now - endExecutionTime_; if (diff < delay_) - usleep(delay_ - diff); + usleep((delay_ - diff) * 1000); } try { |