synapse-product/synapse/rest/media
Richard van der Hoff 7098b65cb8 Fix error on sqlite 3.7
Create the url_cache index on local_media_repository as a background update, so
that we can detect whether we are on sqlite or not and create a partial or
complete index accordingly.

To avoid running the cleanup job before we have built the index, add a bailout
which will defer the cleanup if the bg updates are still running.

Fixes https://github.com/matrix-org/synapse/issues/2572.
2017-11-21 11:14:17 +00:00
..
v0 Remove the legacy v0 content upload API. 2016-06-21 11:47:39 +01:00
v1 Fix error on sqlite 3.7 2017-11-21 11:14:17 +00:00
__init__.py Move rest APIs back under the rest directory 2015-01-22 16:10:07 +00:00