diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-16 15:01:17 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-16 15:01:17 +0200 |
| commit | 5b02882d35a3b8505a82553026c725cca3d98268 (patch) | |
| tree | 9b73d5d5a93e15bee937e56398b1925219e0dfbd /worker.js | |
| parent | 428c94272dfa4e376d6f78a93f2d3492f51db29e (diff) | |
| download | shrinker-5b02882d35a3b8505a82553026c725cca3d98268.tar.gz shrinker-5b02882d35a3b8505a82553026c725cca3d98268.zip | |
telemetry: upsert for debugging
Diffstat (limited to 'worker.js')
| -rw-r--r-- | worker.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -520,7 +520,9 @@ function flatten(obj) { ); await Promise.map(chunks(participant_phase_records), async (p_p_r) => model.ParticipantPhases.bulkCreate(p_p_r, { - ignoreDuplicates: true, + /* ignoreDuplicates: true, TODO DEBUG */ + ignoreDuplicates: false, + updateOnDuplicate: [], transaction: transaction }), { concurrency: MAXCONNS } ); |
