fix(worker): return any thing so cachable cache the request

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-02-26 13:20:32 +01:00
parent 5abf7b988d
commit 75846f0f90

View File

@@ -6,7 +6,6 @@ import { logger } from '@/utils/logger';
import {
db,
getOrganizationBillingEventsCount,
getOrganizationByProjectIdCached,
getProjectEventsCount,
} from '@openpanel/db';
import { cacheable } from '@openpanel/redis';
@@ -76,4 +75,6 @@ const updateEventsCount = cacheable(async function updateEventsCount(
},
});
}
return true;
}, 60 * 60);