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": "atlas",
"version": "0.5.1",
"version": "0.5.1-1",
"description": "",
"main": "src/Atlas.js",
"scripts": {
Expand Down
4 changes: 1 addition & 3 deletions src/Atlas.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ async function deleteOldMessageData() {
const timeSince = Math.floor(DateTime.now().minus({ hours: 12 }).toSeconds());

// Run bun GC for testing
Bun.gc(true).then(() => {
console.log('running bun gc');
});
Bun.gc(true);

await dbConnection`SELECT COUNT(*) FROM atlas_mod_ping_message_data WHERE timestamp <= ${timeSince}`
.then(async timeSinceCountRow => {
Expand Down