Pārlūkot izejas kodu

Re-enable the Atmosphere heartbeat interceptor (#9877)

tags/8.6.0.alpha2
Petter Holmström pirms 5 gadiem
vecāks
revīzija
99161a6e91

+ 0
- 5
server/src/main/java/com/vaadin/server/communication/PushRequestHandler.java Parādīt failu

@@ -181,11 +181,6 @@ public class PushRequestHandler implements SessionExpiredHandler {
atmosphere.addInitParameter(
ApplicationConfig.DROP_ACCESS_CONTROL_ALLOW_ORIGIN_HEADER,
"false");
// Disable heartbeat (it does not emit correct events client side)
// https://github.com/Atmosphere/atmosphere-javascript/issues/141
atmosphere.addInitParameter(
ApplicationConfig.DISABLE_ATMOSPHEREINTERCEPTORS,
HeartbeatInterceptor.class.getName());

final String bufferSize = String
.valueOf(PushConstants.WEBSOCKET_BUFFER_SIZE);

Notiek ielāde…
Atcelt
Saglabāt