Skip to content

Commit

Permalink
Commented out deleter by default for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
fmcubium committed Apr 11, 2024
1 parent b46e410 commit acf6df9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ import { scheduleCron } from './actions/deleter';

const { createServer } = require("http");
const { Server } = require("socket.io");
const readline = require('readline').createInterface({
input: process.stdin,
output: process.stdout
});
const socket_port = process.env.socket_port;
const express_port = process.env.express_port;
const app = express();
Expand Down Expand Up @@ -334,8 +338,10 @@ app.listen(express_port, () => {
);
});

// Begin searching and collecting Garbage (old messages)
scheduleCron();

//Remove the comments if you want to use the deleter !!!!!!
//scheduleCron(); // Begin searching and collecting Garbage (old messages)


// Some old API routes are commented out for now due to breaking type changes.

Expand Down

0 comments on commit acf6df9

Please sign in to comment.