Skip to content

Commit 2420b82

Browse files
committed
Synchronize resetState
1 parent 797761d commit 2420b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/dataloader/strategy/BreadthFirstChainedDispatchStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private synchronized void scheduleFallbackDispatch() {
103103
);
104104
}
105105

106-
private void resetState() {
106+
private synchronized void resetState() {
107107
pendingLoadCount.set(0);
108108
totalWorkCount.set(0);
109109
if (fallbackDispatchFuture != null) {

0 commit comments

Comments
 (0)