Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions client/utils/importer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const importToSegment = (
throw new Error('No event types selected')
}

const analytics = new Analytics(config.writeKey)
const analytics = new Analytics(config.writeKey, { flushAt: 100})
const sortedTransformations = sortTransformations(config.transformationList)
let counter = 0
console.time()
Expand All @@ -30,7 +30,6 @@ export const importToSegment = (
header:true,
skipEmptyLines:true,
step: function(row){
console.log(counter)
counter++
//@ts-ignore
const events = formatEventsFromRow(row.data, config, sortedTransformations)
Expand Down