Skip to content

Commit

Permalink
Update retriever.js
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Oct 13, 2023
1 parent 36297a5 commit 20248c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svc/retriever.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ app.use((req, res, cb) => {
req.query,
);
const shouldRestart =
(matchSuccesses / matchRequests < 0.1 && matchRequests > 100 && getUptime() > minUpTimeSeconds) ||
// (matchSuccesses / matchRequests < 0.1 && matchRequests > 100 && getUptime() > minUpTimeSeconds) ||
(matchRequests > matchRequestLimit && getUptime() > minUpTimeSeconds) ||
(!allReady && getUptime() > minUpTimeSeconds);
if (shouldRestart && config.NODE_ENV !== "development") {
Expand Down

0 comments on commit 20248c8

Please sign in to comment.