diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-04-22 13:20:58 +0200 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-04-22 13:20:58 +0200 |
commit | 7d669032d40cb887f7130d4cb36a72865155f87f (patch) | |
tree | 0f3ed8b5ee24dfcc2b4b2a760bc91ccf72150c9a | |
parent | 55d1f2bbea67824754cc7752352434f4cb90a657 (diff) |
Chat history size 10 -> 40, for sanity reasons
-rwxr-xr-x | chatserver.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chatserver.js b/chatserver.js index 0d9a30c..d665e2c 100755 --- a/chatserver.js +++ b/chatserver.js @@ -16,7 +16,7 @@ function uniqid(){ } function lobby_create(lname){ - lobbies.push({id:uniqid(),name:lname,users:[],history:new CircularBuffer(10)}); + lobbies.push({id:uniqid(),name:lname,users:[],history:new CircularBuffer(40)}); } var __do_persist_lobbies_timeout=null; |