Added idle timeout code to help combat the screwed up session situation. Some admins would've wanted this eventually, but it'll help until I figure out how to close dead sessions that look like they're still alive. Added a new server config directive, idle_timeout. If the value is non-zero, the idle timeout is the respective number of seconds between commands. Also, the IDLE command will save you from idle timeouts but won't modify your publicly visible idle time.

This commit is contained in:
Greg Taylor 2007-05-09 15:28:12 +00:00
parent 32fa9e419a
commit f1dd985294
6 changed files with 34 additions and 11 deletions

View file

@ -3,4 +3,5 @@ INSERT INTO "config_configvalue" VALUES(1,'site_port','4000');
INSERT INTO "config_configvalue" VALUES(2,'player_dbnum_start','2');
INSERT INTO "config_configvalue" VALUES(3,'money_name_plural','Credits');
INSERT INTO "config_configvalue" VALUES(4,'money_name_singular','Credit');
INSERT INTO "config_configvalue" VALUES(5,'game_firstrun','1');
INSERT INTO "config_configvalue" VALUES(5,'game_firstrun','1');
INSERT INTO "config_configvalue" VALUES(6,'idle_timeout','1800');