Skip to content

Commit 4887c0a

Browse files
committed
update check prediction job time
1 parent 32a8151 commit 4887c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/job-queues/contestPredictionQueue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const checkPredictRatingJobs = async () => {
6767
for (job of jobs) {
6868
date = Math.min(date, new Date(job.opts.timestamp + job.opts.delay));
6969
}
70-
return date - Date.now() <= 1 * 24 * 60 * 60 * 100;
70+
return date - Date.now() <= 1 * 60 * 60 * 1000;
7171
};
7272

7373
predictQueue.on("completed", (job, result) => {

0 commit comments

Comments
 (0)