Closed 0xDEC0DE closed 3 months ago
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-*
Can you close this @0xDEC0DE , I don't have the powers.
Fixed in #46
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.