couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1171342 - /couchdb/trunk/src/couchdb/couch_work_queue.erl
Date Fri, 16 Sep 2011 00:23:54 GMT
Author: fdmanana
Date: Fri Sep 16 00:23:54 2011
New Revision: 1171342

URL: http://svn.apache.org/viewvc?rev=1171342&view=rev
Log:
Remove comment

This comment was added, unintentially, in revision 1103266

Modified:
    couchdb/trunk/src/couchdb/couch_work_queue.erl

Modified: couchdb/trunk/src/couchdb/couch_work_queue.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_work_queue.erl?rev=1171342&r1=1171341&r2=1171342&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_work_queue.erl (original)
+++ couchdb/trunk/src/couchdb/couch_work_queue.erl Fri Sep 16 00:23:54 2011
@@ -91,7 +91,7 @@ terminate(_Reason, #q{work_waiters=Worke
 
     
 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



Mime
View raw message