See here: https://github.com/PolicyStat/jobtastic/blob/master/jobtastic/cache/base.py#L91
The timeout doesn't mean that add will block and wait. It just means that if the key can be set, it will be set with that timeout. So if the key already exists, this results in a busy loop.
See here: https://github.com/PolicyStat/jobtastic/blob/master/jobtastic/cache/base.py#L91
The
timeoutdoesn't mean thataddwill block and wait. It just means that if the key can be set, it will be set with that timeout. So if the key already exists, this results in a busy loop.