Revert erroneously committed change

This commit is contained in:
Rossen Stoyanchev 2017-11-14 08:41:20 -05:00
parent 90e5945014
commit fb7b7d089b
1 changed files with 1 additions and 3 deletions

View File

@ -171,9 +171,7 @@ public abstract class AbstractWebSocketIntegrationTests {
@Bean
public WebSocketService webSocketService() {
TomcatRequestUpgradeStrategy strategy = new TomcatRequestUpgradeStrategy();
strategy.setMaxSessionIdleTimeout(0L);
return new HandshakeWebSocketService(strategy);
return new HandshakeWebSocketService(getUpgradeStrategy());
}
protected abstract RequestUpgradeStrategy getUpgradeStrategy();