From 23ae02e73065a41f4c9292c626b9735f5addf792 Mon Sep 17 00:00:00 2001 From: Chase Date: Wed, 24 Oct 2018 22:27:37 +0200 Subject: [PATCH 1/2] stale[bot] (#1744) --- .github/stale.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000000..37bc16f8ce --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,18 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 60 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 +# Issues with these labels will never be considered stale +exemptLabels: + - enhancement + - bug + - Sticky +# Label to use when marking an issue as stale +staleLabel: wontfix +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false From 592c2fabff169f61c5cf61de9be112baa57f1b83 Mon Sep 17 00:00:00 2001 From: James Ingold Date: Sat, 22 Feb 2020 10:08:16 -0600 Subject: [PATCH 2/2] fixing simulation stops after #1971, setImmediate in async function --- commands/sim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/sim.js b/commands/sim.js index 4659d355aa..790ba87003 100644 --- a/commands/sim.js +++ b/commands/sim.js @@ -292,7 +292,7 @@ module.exports = function (program, conf) { } } collectionCursorStream.close() - setImmediate(async () => await getNext()) + return getNext() } if(totalTrades === 0) {