With the sleep this fails before, and passes afterwards.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fn session_inner(form: Json<SessionForm>,
layout: Option<PresentationLayout>)
-> Result<Template,OE> {
+ 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;
}
if (gen_update_hook == null) gen_update_hook = function() { };
+ gen_update_hook();
last_log_ts = wasm_bindgen.timestamp_abbreviator(dataload.last_log_ts);