Skip to content

Timing out Broadcater's write operation

jfarcand edited this page Feb 6, 2013 · 1 revision

By default, Atmosphere will always waits for the write operation to complete, but there are scenario where you want to set a maximum time for the operation to complete, and if the maximum time is completed, close the connection. If that's the case, just add in your web.xml:

      <init-param>
          <param-name>org.atmosphere.cpr.Broadcaster.writeTimeout</param-name>
          <param-value>VALUE</param-value>
      </init-param>

where VALUE is in milliseconds.

Step by Step Tutorials

Concepts & Architecture

15 Minutes Tutorial

Advanced Topics

API

Known WebServer Issues

References

External Documentations

githalytics.com alpha

Clone this wiki locally