Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

已处理的,多久会删除? #17

Closed
male110 opened this issue Nov 9, 2021 · 1 comment
Closed

已处理的,多久会删除? #17

male110 opened this issue Nov 9, 2021 · 1 comment

Comments

@male110
Copy link

male110 commented Nov 9, 2021

我看数据还在redis里,而且没有设置过期时间。多久数据会删除掉?

@seekcx
Copy link
Collaborator

seekcx commented Nov 9, 2021

因为依赖 bull 来实现,可以尝试设置 bull 的 removeOnComplete 选项为 true

相关文档 bull/REFERENCE.md

@seekcx seekcx closed this as completed Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants