Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

increase ping to 1hr so that menu didnt keep closing

  • Loading branch information...
commit ac76822020c0d0085ed3a4dc3cd2fb5756bb0d02 1 parent 642380c
@pkrumins authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  bin/server.js
  2. +1 −1  static/js/session.js
View
2  bin/server.js
@@ -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
2  static/js/session.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.