Hibernate http-bind process after handling a request.

When using BOSH, this reduces memory consuption of the http-bind process, with negligible CPU impact.

SVN Revision: 2960
This commit is contained in:
Pablo Polvorin 2010-02-04 18:55:43 +00:00 committed by Badlop
parent 17607ecaa4
commit 787e078f6a
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,7 @@ process_buffered_request(Reply, StateName, StateData) ->
Request, StateName,
StateData#state{unprocessed_req_list = NewRequests});
_ ->
{reply, Reply, StateName, StateData}
{reply, Reply, StateName, StateData, hibernate}
end.
handle_http_put(Sid, Rid, Attrs, Payload, PayloadSize, StreamStart, IP) ->