X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=server.coffee;h=44084e8972c85f259d286cc45d3618b1383eb89d;hp=3c370e742c378c03eed4788e942227b9923cf61d;hb=daaa50433a47f3893e39839f1f868992565d864e;hpb=d608cd806b72c1626692836280fde1a06ab62b95 diff --git a/server.coffee b/server.coffee index 3c370e7..44084e8 100644 --- a/server.coffee +++ b/server.coffee @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -listen_port = 8333 +listen_port = 13850 sys = require 'sys' fs = require 'fs' http = require 'http' @@ -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