Skip to content

Commit f6bc85b

Browse files
csviriCopilot
andcommitted
Make isNextReconciliationImminent synchronized
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f77b26e commit f6bc85b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/EventProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ public synchronized void start() throws OperatorException {
508508
handleAlreadyMarkedEvents();
509509
}
510510

511-
public boolean isNextReconciliationImminent(ResourceID resourceID) {
511+
public synchronized boolean isNextReconciliationImminent(ResourceID resourceID)
512512
return isNextReconciliationImminent(resourceStateManager.getOrCreate(resourceID));
513513
}
514514

0 commit comments

Comments
 (0)