Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ee6e1
)
set game timeout to 3 hours
author
Jason Woofenden
<jason@jasonwoof.com>
Thu, 19 Jan 2012 10:18:44 +0000
(
05:18
-0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Thu, 19 Jan 2012 10:18:44 +0000
(
05:18
-0500)
server.coffee
patch
|
blob
|
history
diff --git
a/server.coffee
b/server.coffee
index
f0ebddf
..
44084e8
100644
(file)
--- 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