Ghost/ghost/limit-service/test
Simon Backx cb7e7d34da Added transaction support to limit-service (#190)
refs https://github.com/TryGhost/Ghost/pull/14780
refs https://github.com/TryGhost/Team/issues/1583

- We need transaction support in the limit-service so that we can run the count queries in the same transaction
- This is required to avoid deadlocks when we check the limits when a transaction is in progress on the same tables
- This issue specifically is required for newsletters, where we start a transaction when creating a newsletter.
- Bumped `eslint-plugin-ghost` so we have newer ECMA features available
- Updated README
- Renamed `metadata` to `options` in `limit-service`
2022-05-12 13:40:41 +02:00
..
fixtures Combine @tryghost/ignition-errors with @tryghost/errors 2021-11-30 11:31:10 +00:00
utils Added limit service initial commit 2021-03-03 12:19:48 +00:00
.eslintrc.js Added limit service initial commit 2021-03-03 12:19:48 +00:00
date-utils.test.js Removed date-fns dev dependency 2021-05-07 14:56:40 +04:00
limit-service.test.js Added transaction support to limit-service (#190) 2022-05-12 13:40:41 +02:00
limit.test.js Added transaction support to limit-service (#190) 2022-05-12 13:40:41 +02:00