Skip to content
Snippets Groups Projects
Commit 80e6b168 authored by Anton Georgiev's avatar Anton Georgiev
Browse files

use Meteor setTimeout to run within Fiber

parent 27623aac
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ export default function handleValidateAuthToken({ body }, meetingId) {
const connectionId = methodInvocationObject.connection.id;
// Schedule socket disconnection for this user, giving some time for client receiving the reason of disconnection
setTimeout(()=>{
Meteor.setTimeout(()=>{
methodInvocationObject.connection.close();
}, 2000);
......
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