Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(queue-service): get rid of done billing jobs much faster (#1862)

Gergő Móricz49fb065e072c
diff --git a/apps/api/src/services/queue-service.ts b/apps/api/src/services/queue-service.ts
index 6068fde9e..c4c0c3e71 100644
--- a/apps/api/src/services/queue-service.ts
+++ b/apps/api/src/services/queue-service.ts
@@ -104,7 +104,7 @@ export function getBillingQueue() {
connection: redisConnection,
defaultJobOptions: {
removeOnComplete: {
- age: 3600, // 1 hour
+ age: 60, // 1 minute
},
removeOnFail: {
age: 3600, // 1 hour