uvio-network / issues

0 stars 0 forks source link

purge pending resources from redis in apiserver background job #26

Open xh3b4sd opened 3 weeks ago

xh3b4sd commented 3 weeks ago

It may happens that the creation of a vote resource is triggered, but then it does not get confirmed onchain. That may be because the user as its own EOA connected and rejected a transaction. It may happen that something breaks in the middle. Those unconfirmed resources should not be represented in the interface and we should eventually clean them up in the backend asynchronously.

xh3b4sd commented 3 weeks ago

This got in parts addressed by https://github.com/uvio-network/apiserver/pull/79. The missing piece here is still some background job removing any pending resources that the client has not requested to be purged in the heat of the moment.