There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(server): remove job on complete (#10305)
fengmk2ff0ce1a96243
diff --git a/packages/backend/server/src/base/job/queue/config.ts b/packages/backend/server/src/base/job/queue/config.tsindex bc852b1ec3..a6e7969282 100644--- a/packages/backend/server/src/base/job/queue/config.ts+++ b/packages/backend/server/src/base/job/queue/config.ts@@ -30,10 +30,8 @@ defineStartupConfig('job', {prefix: 'affine_job',defaultJobOptions: {attempts: 5,- removeOnComplete: {- age: 3600 /* 1h */,- count: 100,- },+ // should remove job after it's completed, because we will add a new job with the same job id+ removeOnComplete: true,removeOnFail: {age: 24 * 3600 /* 1 day */,count: 500,