Skip to content

Commit ae3ad74

Browse files
changed max rows for Events ETL
1 parent 39c1707 commit ae3ad74

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

snd/src/org/labkey/snd/query/EventsTable.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,12 @@ public int mergeRows(User user, Container container, DataIteratorBuilder rows, B
146146
Set<Integer> eventIds = handleNarrativeCache(rows, configParameters, errors);
147147

148148
int result = 0;
149+
int maxMergeRows = SNDManager.MAX_MERGE_ROWS * 10;
150+
149151
// Large merge triggers importRows path
150-
if (eventIds.size() > SNDManager.MAX_MERGE_ROWS)
152+
if (eventIds.size() > maxMergeRows)
151153
{
152-
log.info("More than " + SNDManager.MAX_MERGE_ROWS + " rows. using importRows method.");
154+
log.info("More than " + maxMergeRows + " rows. using importRows method.");
153155
result = super.importRows(user, container, rows, errors, configParameters, extraScriptContext);
154156
}
155157
else

0 commit comments

Comments
 (0)