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

关于DEFAULT_EXPIRES #1

Open
PotentialPie opened this issue Jan 3, 2019 · 0 comments
Open

关于DEFAULT_EXPIRES #1

PotentialPie opened this issue Jan 3, 2019 · 0 comments

Comments

@PotentialPie
Copy link

你好,想咨询一个问题,如果我有个定时任务用到redis的分布式锁,但是这个定时任务执行的时间非常长(不可预估)是否只需要无限延长DEFAULT_EXPIRES的时间就可以呢?有没有比较灵活的方式,例如判断程序是死了还是正在执行?

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

1 participant