Skip to content

Commit

Permalink
add auto release scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed Aug 13, 2024
1 parent ea5b946 commit 2c074c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import passport from 'passport';
import session from 'express-session';
import connectSqlite3 from 'connect-sqlite3';
import cors from 'cors';
import {scheduleAutoRelease} from "./services/admin/scheduleRelease.js";


const SQLiteStore = connectSqlite3(session);
Expand Down Expand Up @@ -69,9 +70,12 @@ await addRootUsers();
// setup json configs in db
await setDefaultConfigs();

//start the verification queue scheduler
// start the verification queue scheduler
scheduleVerificationJob();

// start auto release scheduler
scheduleAutoRelease();

// Start the server
app.listen(3000, () => {
console.log(`Locker backend started`);
Expand Down

0 comments on commit 2c074c7

Please sign in to comment.