synapse-product/synapse/rest/media/v1
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
download_resource.py Store URL cache preview downloads seperately 2017-06-23 11:14:11 +01:00
filepath.py Don't needlessly rename variable 2017-10-13 11:42:07 +01:00
identicon_resource.py copyrights 2016-01-07 04:26:29 +00:00
media_repository.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
preview_url_resource.py Fix error on sqlite 3.7 2017-11-21 11:14:17 +00:00
thumbnail_resource.py Store URL cache preview downloads seperately 2017-06-23 11:14:11 +01:00
thumbnailer.py Fix up 2017-10-13 11:33:49 +01:00
upload_resource.py Basic implementation of backup media store 2017-10-12 15:20:59 +01:00