chibenwa commented on code in PR #1824:
URL: https://github.com/apache/james-project/pull/1824#discussion_r1426708534


##########
server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServerFactory.java:
##########
@@ -45,31 +45,30 @@ public class IMAPServerFactory extends 
AbstractServerFactory {
     protected final ThrowingFunction<HierarchicalConfiguration<ImmutableNode>, 
ImapSuite> imapSuiteProvider;
     protected final ImapMetrics imapMetrics;
     protected final GaugeRegistry gaugeRegistry;
-    protected final ThrowingFunction<HierarchicalConfiguration<ImmutableNode>, 
Set<ConnectionCheck>> connectionCheckProvider;
+    protected final Set<ConnectionCheck> connectionChecks;
 
     @Inject
     @Deprecated
     public IMAPServerFactory(FileSystem fileSystem, ImapDecoder decoder, 
ImapEncoder encoder, ImapProcessor processor,
-                             MetricFactory metricFactory, GaugeRegistry 
gaugeRegistry, ThrowingFunction<HierarchicalConfiguration<ImmutableNode>, 
Set<ConnectionCheck>> connectionCheckProvider) {
+                             MetricFactory metricFactory, GaugeRegistry 
gaugeRegistry, Set<ConnectionCheck> connectionChecks) {

Review Comment:
   No It was better before: one set of connections set per ports. More 
flexibility.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to