0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/utils
naz 3a594ce22e
Improved error handling for batch inserted member records (#12146)
no issue

- When batch insert fails handling should be more granular and aim to retry and insert as many records from the batch as possible.  
- Added retry logic for failed member's batch inserts. It's a sequential insert for each record in the batch. This implementation was chosen to keep it as simple as possible
- Added filtering of "toCreate" records when member fails to insert. We should not try inserting related members_labels/members_stripe_customers/members_stripe_customer_subscriptions records because they would definitely fail insertion without associated member record
2020-08-20 17:41:47 +12:00
..
fixtures Improved error handling for batch inserted member records (#12146) 2020-08-20 17:41:47 +12:00
mocks
api.js Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
index.js Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
urlUtils.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00