Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 5536358

Browse files
author
sachin-maheshwari
authored
Merge pull request #109 from topcoder-platform/develop
Shapeup4: CQRS update
2 parents d8ee78f + 8b14483 commit 5536358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/common/es-helper.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ async function processCreate (resource, entity) {
295295
type: DOCUMENTS[resource].type,
296296
id: entity.id,
297297
body: entity,
298-
refresh: 'wait_for'
298+
refresh: 'true'
299299
})
300300
logger.info(`Insert in Elasticsearch resource ${resource} entity, , ${JSON.stringify(entity, null, 2)}`)
301301
}

0 commit comments

Comments
 (0)