You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mx...@apache.org on 2024/01/23 15:37:12 UTC

(eventmesh) branch master updated: [ISSUE #3822]Enhance thread handling of InterruptedException (#4756)

This is an automated email from the ASF dual-hosted git repository.

mxsm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new 506838efe [ISSUE #3822]Enhance thread handling of InterruptedException (#4756)
506838efe is described below

commit 506838efe1aa51ab9402798b8abd2188662ec33a
Author: scwlkq <89...@users.noreply.github.com>
AuthorDate: Tue Jan 23 23:37:06 2024 +0800

    [ISSUE #3822]Enhance thread handling of InterruptedException (#4756)
---
 .../apache/eventmesh/webhook/receive/storage/WebhookFileListener.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/storage/WebhookFileListener.java b/eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/storage/WebhookFileListener.java
index 8d42c9f19..e5af8501b 100644
--- a/eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/storage/WebhookFileListener.java
+++ b/eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/storage/WebhookFileListener.java
@@ -149,6 +149,7 @@ public class WebhookFileListener {
                     key = service.take();
                 } catch (InterruptedException e) {
                     log.error("Interrupted", e);
+                    Thread.currentThread().interrupt();
                 }
 
                 assert key != null;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org