Browse Source

Fix "cb is not a function" error in streaming API server (#16134)

Third argument of `ping` is the callback

Regression from #15932
closed-social-v3
Eugen Rochko 3 years ago
committed by GitHub
parent
commit
c5c46dd6ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      streaming/index.js

+ 1
- 1
streaming/index.js View File

@ -1062,7 +1062,7 @@ const startWorker = (workerId) => {
}
ws.isAlive = false;
ws.ping('', false, true);
ws.ping('', false);
});
}, 30000);

Loading…
Cancel
Save