You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2022/08/23 09:19:58 UTC

[james-project] 04/06: JAMES-3775 ClamAVScan connection checking when mailet initialization should fail fast by default

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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit e8c638ab27d22f8253c33a94de63fa05d25c8d94
Author: Quan Tran <hq...@linagora.com>
AuthorDate: Wed Aug 17 15:50:54 2022 +0700

    JAMES-3775 ClamAVScan connection checking when mailet initialization should fail fast by default
---
 .../src/main/java/org/apache/james/transport/mailets/ClamAVScan.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mailet/standard/src/main/java/org/apache/james/transport/mailets/ClamAVScan.java b/mailet/standard/src/main/java/org/apache/james/transport/mailets/ClamAVScan.java
index eed35eae72..0cac62d690 100644
--- a/mailet/standard/src/main/java/org/apache/james/transport/mailets/ClamAVScan.java
+++ b/mailet/standard/src/main/java/org/apache/james/transport/mailets/ClamAVScan.java
@@ -185,9 +185,9 @@ public class ClamAVScan extends GenericMailet {
 
     private static final int DEFAULT_PORT = 3310;
 
-    private static final int DEFAULT_MAX_PINGS = 6;
+    private static final int DEFAULT_MAX_PINGS = 2;
 
-    private static final int DEFAULT_PING_INTERVAL_MILLI = 30000;
+    private static final int DEFAULT_PING_INTERVAL_MILLI = 10000;
 
     private static final int DEFAULT_STREAM_BUFFER_SIZE = 8192;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org