Skip to content
Snippets Groups Projects
Commit 4e1ecc73 authored by Loïc Correnson's avatar Loïc Correnson Committed by Michele Alberti
Browse files

[server] use Db.yield API

parent 29485e41
No related branches found
No related tags found
No related merge requests found
......@@ -333,7 +333,7 @@ let run server =
if not activity then
begin
Unix.sleepf idle_s ;
!Db.progress () ;
Db.yield () ;
end
done ;
with Sys.Break -> () (* Ctr+C, just leave the loop normally *)
......
......@@ -45,14 +45,6 @@ module Idle = P.Int
let help = "Server polling (in milliseconds, default 50ms)"
end)
module Yield = P.Int
(struct
let option_name = "-server-yield"
let arg_name = "ms"
let default = 50
let help = EXEC yield period (in milliseconds, default 50ms)"
end)
module AutoLog = P.False
(struct
let option_name = "-server-auto-log"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment