Skip to content
Snippets Groups Projects
Commit 1c47023e authored by Joao Siebel's avatar Joao Siebel
Browse files

Add original function link for reference

parent 3a2d06fd
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ Meteor.startup(() => {
const CDN_URL = APP_CONFIG.cdn;
let heapDumpMbThreshold = 100;
// https://github.com/sockjs/sockjs-node/blob/1ef08901f045aae7b4df0f91ef598d7a11e82897/lib/transport/websocket.js#L74-L82
const newHeartbeat = function heartbeat() {
const currentTime = new Date().getTime();
......@@ -46,6 +47,7 @@ Meteor.startup(() => {
}
};
// https://github.com/davhani/hagty/blob/6a5c78e9ae5a5e4ade03e747fb4cc8ea2df4be0c/faye-websocket/lib/faye/websocket/api.js#L84-L88
const newSend = function send(data) {
this.lastSentFrameTimestamp = new Date().getTime();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment