diff options
author | Loïc Hoguin <[email protected]> | 2011-06-06 18:15:36 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-06-06 18:15:36 +0200 |
commit | 648921b8cfb1afee8247589f4cf03f46334a84e8 (patch) | |
tree | 50add0618280355ff9bb45303ea3a51dd4d3309b /src/cowboy_acceptor.erl | |
parent | b00dd6fba212d1d12074df2ac3fb4ed795e77869 (diff) | |
download | cowboy-648921b8cfb1afee8247589f4cf03f46334a84e8.tar.gz cowboy-648921b8cfb1afee8247589f4cf03f46334a84e8.tar.bz2 cowboy-648921b8cfb1afee8247589f4cf03f46334a84e8.zip |
Add hibernate support for websockets.
Return {ok, Req, State, hibernate}
or {reply, Data, Req, State, hibernate} to hibernate the websocket
process and save up memory and CPU. You should hibernate processes
that will receive few messages. So probably most of them.
Diffstat (limited to 'src/cowboy_acceptor.erl')
0 files changed, 0 insertions, 0 deletions