Skip to content

Commit

Permalink
Restore default session timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
aloysius-pgast committed Oct 11, 2019

Verified

This commit was signed with the committer’s verified signature.
1 parent 93de2f9 commit 0a55daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/session.js
Original file line number Diff line number Diff line change
@@ -19,8 +19,8 @@ const SUPPORTED_SUBSCRIPTIONS = ['tickers','orderBooks','trades','klines'];
const PING_TIMEOUT = internalConfig.get('keepalive').clients;

// how many seconds should we wait before destroying a session without WS connection (10 min)
//const SESSION_TIMEOUT = 600;
const SESSION_TIMEOUT = 30 ;
const SESSION_TIMEOUT = 600;
//const SESSION_TIMEOUT = 30 ;

/**
* Class which handles subscriptions related to multiple exchanges for a single session (same session id can be used by multiple WS client connections)

0 comments on commit 0a55daf

Please sign in to comment.