Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uncivserver.xyz",
"version": "4.52.0",
"version": "4.53.0",
"description": "An Open Source, Free to Play, Unciv Multiplayer Server written in Javascript",
"author": "Md. Touhidur Rahman",
"license": "BSD-3-Clause",
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,7 @@ export const app = new Elysia({
if (unix) chmod(unix, 0o666);
console.log(`Server started at ${server.url}`);
});

// periodically run gc
setInterval(Bun.gc, 100_000);