Skip to content

Commit

Permalink
Use cache worker for half of caching. Uncluster.
Browse files Browse the repository at this point in the history
  • Loading branch information
IceeMC committed May 26, 2022
1 parent dc4acd8 commit 0d13b4c
Show file tree
Hide file tree
Showing 2 changed files with 237 additions and 271 deletions.
4 changes: 0 additions & 4 deletions src/Util/Services/auditCaching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,3 @@ export async function uploadAuditLogs() {

await global.redis?.hmset(prefix, "all", JSON.stringify(logs));
}

setInterval(async () => {
await uploadAuditLogs();
}, 900000);
Loading

0 comments on commit 0d13b4c

Please sign in to comment.