Permalink
Browse files

increase ping to 1hr so that menu didnt keep closing

  • Loading branch information...
1 parent 642380c commit ac76822020c0d0085ed3a4dc3cd2fb5756bb0d02 @pkrumins committed Oct 19, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 bin/server.js
  2. +1 −1 static/js/session.js
View
@@ -44,7 +44,7 @@ Web(app, users);
Service(users, function (service) {
DNode(service)
.listen(app, {
- ping : 1000,
+ ping : 3600*1000,
timeout : 1000,
transports : 'websocket xhr-multipart xhr-polling htmlfile'
.split(/\s+/),
View
@@ -1,6 +1,6 @@
function Session (cb) {
DNode().connect(
- { ping : 2000, timeout : 100 },
+ { ping : 3600*1000, timeout : 100 },
function (remote, conn) {
remote.session(function (err, account) {
if (err) cb(err);

0 comments on commit ac76822

Please sign in to comment.