diff options
author | Pablo Polvorin <pablo.polvorin@process-one.net> | 2010-02-04 18:55:43 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2010-02-05 13:30:27 +0100 |
commit | 787e078f6a9be1b8e6e76d6f07860b35132c858e (patch) | |
tree | f6fa7f6e0c471a5a1bd2477407cb23f7e4666924 | |
parent | Bug Fix: The value of max # of erlang process specified in ejabberdctl.cfg wa... (diff) |
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
-rw-r--r-- | src/web/ejabberd_http_bind.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index 43fd9ecfd..c76125c3c 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -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) -> |