aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-06-06 18:15:36 +0200
committerLoïc Hoguin <[email protected]>2011-06-06 18:15:36 +0200
commit648921b8cfb1afee8247589f4cf03f46334a84e8 (patch)
tree50add0618280355ff9bb45303ea3a51dd4d3309b /src/cowboy.erl
parentb00dd6fba212d1d12074df2ac3fb4ed795e77869 (diff)
downloadcowboy-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.erl')
0 files changed, 0 insertions, 0 deletions