|
|
@ -114,6 +114,7 @@ public class StateEventResponseService { |
|
|
|
} catch (InterruptedException e) { |
|
|
|
} catch (InterruptedException e) { |
|
|
|
logger.warn("persist task error", e); |
|
|
|
logger.warn("persist task error", e); |
|
|
|
Thread.currentThread().interrupt(); |
|
|
|
Thread.currentThread().interrupt(); |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
logger.info("StateEventResponseWorker stopped"); |
|
|
|
logger.info("StateEventResponseWorker stopped"); |
|
|
@ -139,7 +140,7 @@ public class StateEventResponseService { |
|
|
|
workflowExecuteThread.addStateEvent(stateEvent); |
|
|
|
workflowExecuteThread.addStateEvent(stateEvent); |
|
|
|
writeResponse(stateEvent, ExecutionStatus.SUCCESS); |
|
|
|
writeResponse(stateEvent, ExecutionStatus.SUCCESS); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("persist event queue error:", stateEvent.toString(), e); |
|
|
|
logger.error("persist event queue error, event: {}", stateEvent, e); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|