projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd75025
)
Removing console.logs
author
Darren
<darren@darrenwhitlen.com>
Sat, 18 Oct 2014 20:12:05 +0000
(21:12 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sat, 18 Oct 2014 20:12:05 +0000
(21:12 +0100)
server/client.js
patch
|
blob
|
blame
|
history
diff --git
a/server/client.js
b/server/client.js
index 609c906713e30e15d794d13aafc0e6a1ab745178..644ac18da13578fc86f3f51de6133850cf90027c 100755
(executable)
--- a/
server/client.js
+++ b/
server/client.js
@@
-113,13
+113,11
@@
Client.prototype.heartbeat = function() {
}
// After 2 minutes of this heartbeat not being called again, assume the client has disconnected
- console.log('resetting heartbeat');
this._heartbeat_tmr = setTimeout(_.bind(this._heartbeat_timeout, this), 120000);
};
Client.prototype._heartbeat_timeout = function() {
- console.log('heartbeat stopped');
Stats.incr('client.timeout');
this.dispose();
};