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

python版本 redis 注册work_id问题 ,当其中一个服务停止后已注册的work_id不会销毁 #110

Open
yangsongbai1 opened this issue Jul 26, 2024 · 1 comment

Comments

@yangsongbai1
Copy link

redis 注册的work_id ,服务停止后已注册的work_id不会销毁
如果max_worker_id限制100, 我启动100个容器,那么我重启其中一个容器,work_id 将会重置为0,work_id就会重复

@yangsongbai1 yangsongbai1 changed the title redis 注册的work_id ,服务停止后已注册的work_id不会销毁 python版本 redis 注册work_id问题 ,当其中一个服务停止后已注册的work_id不会销毁 Jul 26, 2024
@molixiaoge
Copy link

自己写一个吧,他这个实现的有问题

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