From fbb662365a064889da25ce2c705568ca31f27af1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 24 Jan 2018 14:04:32 +0300 Subject: xmpp: SASL EXTERNAL --- .../main/java/com/juick/server/configuration/ApiAppConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java') diff --git a/juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java b/juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java index 91f5446a..001f72fe 100644 --- a/juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java +++ b/juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java @@ -49,6 +49,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2; import javax.annotation.Nonnull; import javax.inject.Inject; +import java.time.Duration; import java.util.Collections; /** @@ -104,6 +105,7 @@ public class ApiAppConfiguration implements WebMvcConfigurer, WebSocketConfigure XmppSessionConfiguration configuration = XmppSessionConfiguration.builder() .extensions(Extension.of(com.juick.Message.class), Extension.of(MessageQuery.class)) .debugger(LogbackDebugger.class) + .defaultResponseTimeout(Duration.ofMillis(120000)) .build(); return BasicXmppSession.create(hostname, configuration); } -- cgit v1.2.3