jruizgit / rules

Durable Rules Engine
MIT License
1.14k stars 209 forks source link

Repeated Could not assert timers exception #391

Open tonythomas01 opened 2 years ago

tonythomas01 commented 2 years ago

I am running the 2.x Durable rules engine on Google CloudRun - 1 CPU, 1 worker, 1 thread on Python 3.10. The machine is talking to a redis for data persistance. However, I see a lot of these, repeated every 1 second.

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/durable/engine.py", line 945, in dispatch_timers
    ruleset.dispatch_timers()
  File "/usr/local/lib/python3.10/site-packages/durable/engine.py", line 449, in dispatch_timers
    return durable_rules_engine.assert_timers(self._handle)
durable_rules_engine.error: Could not assert timers, error code: 2

The error message unfortunately is not very helpful, but @jruizgit if you can point me to what part of the infrastructure is failing, I might be able to fix it.