Skip to content

Commit edeed73

Browse files
committed
fix profiler
1 parent 7a2b052 commit edeed73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/execution/instrumentation/dataloader/PerLevelDataLoaderDispatchStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ private void dispatchDLCFImpl(Integer level, CallStack callStack, boolean normal
533533
allDispatchedCFs.add(dispatch);
534534
dispatch.whenComplete((objects, throwable) -> {
535535
if (objects != null && objects.size() > 0) {
536-
profiler.batchLoadedNewStrategy(dataLoaderInvocation.name, level, objects.size(), normalOrDelayed, chained);
536+
profiler.batchLoadedNewStrategy(dataLoaderInvocation.name, level, objects.size(), !normalOrDelayed, chained);
537537
}
538538
});
539539
}

0 commit comments

Comments
 (0)