forked-synapse/synapse
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
..
api Add a config option to block all room invites (#2457) 2017-09-19 16:08:14 +01:00
app Merge pull request #2627 from matrix-org/rav/custom_rest_endpoints 2017-11-02 15:18:37 +00:00
appservice Extract group_id from the dict for multiple use 2017-11-16 18:18:30 +00:00
config Check group_id belongs to this domain 2017-11-16 17:54:27 +00:00
crypto replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
events replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
federation Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00
groups Namespace visibility options for groups 2017-11-09 15:27:18 +00:00
handlers Merge pull request #2686 from matrix-org/luke/as-flair 2017-11-17 10:13:46 +00:00
http Fix 500 on invalid utf-8 in request 2017-11-10 09:15:39 +00:00
metrics Rearrange metrics 2017-04-05 14:15:09 +01:00
module_api Add more hooks to ModuleApi 2017-11-02 14:37:39 +00:00
push Merge pull request #2675 from matrix-org/rav/remove_broken_logcontext_funcs 2017-11-15 11:13:53 +00:00
replication Pull out bits of StateStore to a mixin 2017-11-14 11:43:58 +00:00
rest Fix error on sqlite 3.7 2017-11-21 11:14:17 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Fix error on sqlite 3.7 2017-11-21 11:14:17 +00:00
streams replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
util Remove __PreservingContextDeferred too 2017-11-14 23:00:10 +00:00
__init__.py Bump version in __init__.py 2017-11-17 10:10:53 +00:00
event_auth.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
notifier.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
python_dependencies.py Make 'affinity' package optional 2017-10-02 18:03:59 +01:00
server.py Merge branch 'develop' into erikj/groups_merged 2017-10-02 16:20:41 +01:00
server.pyi Doc some more dynamic Homeserver methods 2017-10-17 20:51:29 +01:00
state.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
types.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
visibility.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00