grassrootseconomics / cic-custodial

Experimental custodial API
GNU Affero General Public License v3.0
1 stars 0 forks source link

DRY defer nonce rollback on failure #46

Closed kamikazechaser closed 1 year ago

kamikazechaser commented 1 year ago

On task failures, nonce is always rollbacked to allow for retry,

kamikazechaser commented 1 year ago

Added in https://github.com/grassrootseconomics/cic-custodial/commit/cf1f9f34c315fc706672dab8448216cc27b606ec

Untested

kamikazechaser commented 1 year ago

Removed all event publishers from task handlers. The rollback will only be triggered on critical failures i.e. Postgres/redis unavailable.