You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2022. It is now read-only.
with_for_update will (probably?) lock all the corresponding entries (which are all that are relevant for the WSGI backend).
Check wether this is a viable solution to lock all entries at once on a task that is recurring relatively often (on every poll of the Raiden API).
The text was updated successfully, but these errors were encountered:
ezdac
changed the title
server: Don't lock all awaited database Payments at once in in update task
server: Don't lock all awaited database Payments at once in update task
Oct 29, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
with_for_update
will (probably?) lock all the corresponding entries (which are all that are relevant for the WSGI backend).Check wether this is a viable solution to lock all entries at once on a task that is recurring relatively often (on every poll of the Raiden API).
https://github.com/raiden-network/paywall/blob/c84e5407f60e5316dd477ca4a9bbf89ad2749c00/server/src/raiden_paywall/tasks.py#L17-L24
The text was updated successfully, but these errors were encountered: