From 31f353153b5ba8cfaa7e86624168051d8724e802 Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 3 Sep 2019 17:01:59 +1000 Subject: [PATCH 1/2] worklog dones --- WORKLOG.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/WORKLOG.md b/WORKLOG.md index a246a525..999f1afa 100644 --- a/WORKLOG.md +++ b/WORKLOG.md @@ -4,7 +4,6 @@ * ACP * essential * serde serialize privatise - * DO postgres * mobile styles * can't reset password without knowing password =\ @@ -13,10 +12,8 @@ * background colour changes depending on time of day * bug fixes - * pvp 1st player ready up doesn't get put in game * pvp 1st round doesn't resolve until warden timer completes - * bot game grind * stress test @@ -65,12 +62,6 @@ mobile info page reconnect based on time delta consolidate game and instance -ah man -the ready screen should totally be -your constructs facing off against the other guy -the chatwheel -and a ready button - *SERVER* * vbox drops chances * 50% spec, 25% colour etc @@ -78,7 +69,6 @@ and a ready button * mnml tv ## LATER -* chat * elo + leaderboards * constants * change to ownership pattern From a16369085cf2e07a258cddc7617b736375376d2d Mon Sep 17 00:00:00 2001 From: ntr Date: Wed, 4 Sep 2019 15:23:35 +1000 Subject: [PATCH 2/2] do not kill listener threads on error --- server/src/events.rs | 2 +- server/src/warden.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/events.rs b/server/src/events.rs index c6cf57a5..782f0088 100644 --- a/server/src/events.rs +++ b/server/src/events.rs @@ -88,7 +88,7 @@ impl Events { }, Err(e) => { - return Err(format_err!("events error err={:?}", e)); + warn!("events error err={:?}", e); }, }; } diff --git a/server/src/warden.rs b/server/src/warden.rs index f1ebd731..5cef7008 100644 --- a/server/src/warden.rs +++ b/server/src/warden.rs @@ -57,7 +57,7 @@ impl Warden { }, Err(e) => { - return Err(format_err!("err={:?}", e)); + warn!("err={:?}", e); }, }; }