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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to