Skip to content

Commit a00c934

Browse files
committed
wip
1 parent dd5572c commit a00c934

File tree

1 file changed

+1
-1
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event

1 file changed

+1
-1
lines changed

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
@@ -46,7 +46,6 @@ public class EventProcessor<P extends HasMetadata> implements EventHandler, Life
4646
private final Map<String, Object> metricsMetadata;
4747
private ExecutorService executor;
4848

49-
5049
public EventProcessor(EventSourceManager<P> eventSourceManager) {
5150
this(
5251
eventSourceManager.getController().getConfiguration(),
@@ -366,6 +365,7 @@ public synchronized void stop() {
366365

367366
@Override
368367
public void start() throws OperatorException {
368+
// on restart new executor service is created and needs to be set here
369369
executor = ExecutorServiceManager.instance().executorService();
370370
this.running = true;
371371
handleAlreadyMarkedEvents();

0 commit comments

Comments
 (0)