X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=server.coffee;h=44084e8972c85f259d286cc45d3618b1383eb89d;hp=f0ebddf7d92a4da934c9f781dc601199ef0a9a3e;hb=6dafce4f87485fbc4ba2c06de1016ae5ba7b9bd7;hpb=17ee6e1dba95f184fa1cdf66b4db3153b350e757 diff --git a/server.coffee b/server.coffee index f0ebddf..44084e8 100644 --- a/server.coffee +++ b/server.coffee @@ -26,7 +26,7 @@ model = require './common.coffee' games = {} max_concurrent_games = 50 -max_game_idle = 2 * 60 * 60 * 1000 # two hours (in miliseconds) +max_game_idle = 3 * 60 * 60 * 1000 # three hours (in miliseconds) # timeout function with args in convenient order timeout = (ms, func) -> setTimeout func, ms