Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove comment

This comment was added, unintentially, in revision 1103266


git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1171342 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 62de168b5705a0d04cbc0942142bf739e8fddc21 1 parent 2c9bc69
@fdmanana fdmanana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/couchdb/couch_work_queue.erl
View
2  src/couchdb/couch_work_queue.erl
@@ -91,7 +91,7 @@ terminate(_Reason, #q{work_waiters=Workers}) ->
handle_call({queue, Item, Size}, From, #q{work_waiters = []} = Q0) ->
- Q = Q0#q{size = Q0#q.size + Size, % increment_queue_size(Q0, Item),
+ Q = Q0#q{size = Q0#q.size + Size,
items = Q0#q.items + 1,
queue = queue:in({Item, Size}, Q0#q.queue)},
case (Q#q.size >= Q#q.max_size) orelse
Please sign in to comment.
Something went wrong with that request. Please try again.