Commit d671a9e9 authored by Kirill Smelkov's avatar Kirill Smelkov

X wcfs: Give more time to stop wcfs server

10 seconds is apparently not enough on a busy machine: with it I'm seeing
several failures where glog is stuck in fsync flushing its buffers, for
example:

https://nexedijs.erp5.net/#/test_result_module/20210817-E9535884/25
https://nexedijs.erp5.net/#/test_result_module/20210817-130D3B7A2/23
https://nexedijs.erp5.net/#/test_result_module/20210817-130D3B7A2/21
...

let's try to double the timeout.
parent 4eaed5b9
...@@ -386,7 +386,7 @@ def __init__(wcsrv, mountpoint, proc, ffuseabort): ...@@ -386,7 +386,7 @@ def __init__(wcsrv, mountpoint, proc, ffuseabort):
@func(Server) @func(Server)
def stop(wcsrv, ctx=None): def stop(wcsrv, ctx=None):
if ctx is None: if ctx is None:
ctx, cancel = context.with_timeout(context.background(), 10*time.second) ctx, cancel = context.with_timeout(context.background(), 20*time.second)
defer(cancel) defer(cancel)
wcsrv._stop(ctx) wcsrv._stop(ctx)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment