diff options
author | drebs <drebs@leap.se> | 2016-11-22 21:50:22 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-11-27 11:45:52 -0200 |
commit | 18380ecd9fa22e456d97a303419a6a377279a79a (patch) | |
tree | 78562bfa79c887b7605168f91674ac33774a8264 /testing/tests | |
parent | bb3cc25758e7c97285195eadedb81f59a6829bec (diff) |
[bug] delay couch state initialization
The couch state checks if all user databases have the correct schema
version on initialization, and may log errors and raise exceptions if
that is not the case. Because we are currently using `twistd web
--wsgi`, if those errors are logged too early the reactor may have not
been started and the twistd logging facilities may not have been
initialized.
This commit delays the state initialization until the reactor has been
started, to make sure any errors raised and logged in that stage will
actually reach the logfile.
Diffstat (limited to 'testing/tests')
0 files changed, 0 insertions, 0 deletions