mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use Meteor.setTimeout to re-run tryInsert function.
This commit is contained in:
@@ -25,7 +25,7 @@ if (process.env.RUN_ONCE_OUTCOME === "mongo") {
|
||||
}
|
||||
|
||||
console.log("insert failed; retrying:", String(e.stack || e));
|
||||
setTimeout(tryInsert, 1000);
|
||||
Meteor.setTimeout(tryInsert, 1000);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user