This commit is contained in:
tiago
2025-11-25 10:43:37 +00:00
parent 83aacef9c6
commit 4e70ab337b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ class Cap extends EventEmitter {
const fiveMinutes = 5 * 60 * 1000;
if (now - this._lastCleanup > fiveMinutes) {
this._cleanExpiredTokens().catch((err) => {
await this._cleanExpiredTokens().catch((err) => {
console.error("[cap] cleanup failed", err);
});
this._lastCleanup = now;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@cap.js/server",
"version": "4.0.3",
"version": "4.0.4",
"author": "Tiago",
"repository": {
"type": "git",