mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Enabled batched members import method through enableDeveloperExperiments flag
no issue - Allows early testing of batched import method
This commit is contained in:
parent
bbcc0f5178
commit
8a7e00c413
1 changed files with 7 additions and 0 deletions
|
@ -968,4 +968,11 @@ const members = {
|
|||
}
|
||||
};
|
||||
|
||||
// NOTE: remove below condition once batched import is production ready,
|
||||
// remember to swap out current importCSV method when doing so
|
||||
if (config.get('enableDeveloperExperiments')) {
|
||||
members.importCSV = members.importCSVBatched;
|
||||
delete members.importCSVBatched;
|
||||
}
|
||||
|
||||
module.exports = members;
|
||||
|
|
Loading…
Add table
Reference in a new issue