Ghost/test/unit/services
Kevin Ansfield fd4a011995
🐛 Fixed settings cache being out of sync after migrations (#11987)
refs https://github.com/TryGhost/Ghost/issues/10318

- re-initialize settings cache after migrations by shutting down to clean up event listeners then and calling `init` again
- important to ensure `db.ready` event is not emitted until settings have finished re-initializing to avoid problems with background processes using the db connection which is disconnected/re-connected or being kicked off with out-of-date settings
2020-07-01 17:16:57 +01:00
..
apps Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
auth Remove common errors (#11848) 2020-05-26 19:10:29 +01:00
mail Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
members Cleaned up members & stripe settings (#11957) 2020-06-29 16:22:42 +02:00
permissions Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
routing Updated edit URLs to use consistent correct URLs 2020-06-01 08:42:11 +01:00
rss Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
settings 🐛 Fixed settings cache being out of sync after migrations (#11987) 2020-07-01 17:16:57 +01:00
themes Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
url Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
labs_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
slack_spec.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
xmlrpc_spec.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00