-
- Downloads
Fix errors storing large retry intervals.
We have set the max retry interval to a value larger than a postgres or sqlite int can hold, which caused exceptions when updating the destinations table. To fix postgres we need to change the column to a bigint, and for sqlite we lower the max interval to 2**62 (which is still incredibly long).
Showing
- synapse/storage/schema/delta/56/destinations_retry_interval_type.sql.postgres 18 additions, 0 deletions...ma/delta/56/destinations_retry_interval_type.sql.postgres
- synapse/util/retryutils.py 1 addition, 1 deletionsynapse/util/retryutils.py
- tests/storage/test_transactions.py 11 additions, 0 deletionstests/storage/test_transactions.py
Please register or sign in to comment