xcherryio / xcherry

server and main repo of xCherry project
Apache License 2.0
26 stars 1 forks source link

Refactor worker/timer task processing to move `WorkerTaskBackoffInfoJson` from immediate task to state execution #69

Open longquanzheng opened 10 months ago

longquanzheng commented 10 months ago

Store in both worker/timer tasks has caused some confusion and makes it hard to follow. (originally I was thinking we can save a DB operation on state execution record, but later on I found that this is not possible, because we have to update the state execution for the failure details anyway)