euchre-live

Euchre web-app for the socially distant family
git clone git://git.alexkarle.com/euchre-live.git
Log | Files | Refs | README | LICENSE

commit 7f43a583c6317e8cc38945328b65a87e575d713b (patch)
parent 30a6c299415a6450a8751477a507397fb39c9b18
Author: Alex Karle <alex@karle.co>
Date:   Sun, 29 Mar 2020 01:08:04 -0400

doc: Add inactivity-timeout note to README

We discovered this today -- Mojolicious closes the ws after 15 seconds
if it hasn't had any activity. This is obviously non-ideal for a game
with any thinking (or chatting haha).

While I look into how to put this in the server itself, I wanted to
document the workaround (via envvar) in the README

Diffstat:
MREADME.md | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -18,4 +18,6 @@ Running ------- Run the development server as so: - $ ./gloat.pl daemon +```sh +$ MOJO_INACTIVITY_TIMEOUT=500 morbo gloat.pl +```