From: Ian Jackson Date: Sun, 4 Apr 2021 11:12:47 +0000 (+0100) Subject: wdt: Fix load race (tidy up) X-Git-Tag: otter-0.5.0~242 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=88755d800ea40577f2e7527172d28f71b39fb56d;p=otter.git wdt: Fix load race (tidy up) Get rid of the delay-for-testing. Signed-off-by: Ian Jackson --- diff --git a/daemon/session.rs b/daemon/session.rs index 0229793f..8ddda535 100644 --- a/daemon/session.rs +++ b/daemon/session.rs @@ -86,7 +86,6 @@ impl SvgAttrs { fn session_inner(form: Json, layout: Option) -> Result { - sleep(Duration::from_secs(2)); // make session in this game, log a message to other players let iad = lookup_token(form.ptoken.borrow())?; let player = iad.ident;