We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In one window:
docker-compose -f spinach/tests/docker-compose.yml up -d docker-compose -f spinach/tests/docker-compose.yml exec redis redis-cli
In another window:
import spinach sp = spinach.Engine(spinach.RedisBroker()) @sp.task(name='hi_mom') def hi_mom(): print("Hi mom.") sp.schedule('hi_mom') sp.start_workers(stop_when_queue_empty=True)
In the first window:
KEYS *
An empty result, or an idempotency key.
A _running-jobs-on-broker-* key is listed in the output. Its contents are the job that just finished, claiming to still be running.
_running-jobs-on-broker-*
The text was updated successfully, but these errors were encountered:
fix: RedisBroker: Remove non-idempotent jobs from running, too
5e52315
Adds a test that the running job is actually gone. Fixes: Issue NicolasLM#45
Can you close this @0xDEC0DE , I don't have the powers.
Sorry, something went wrong.
Fixed in #46
No branches or pull requests
Steps to reproduce
Prep
In one window:
Test
In another window:
Check
In the first window:
Expected result
An empty result, or an idempotency key.
Actual behavior
A
_running-jobs-on-broker-*
key is listed in the output. Its contents are the job that just finished, claiming to still be running.The text was updated successfully, but these errors were encountered: