Skip to content

Commit

Permalink
Remove bad couch_db:close/1 call
Browse files Browse the repository at this point in the history
This is unnecessary as the changes feed loop will do
the necessary database close once it starts waiting
for database update events. Plus, this close call
will fail when the database is deleted - this causes
sporadic replicator_db.js test failures.
  • Loading branch information
fdmanana committed Dec 10, 2011
1 parent 1aafbf4 commit 8b94951
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/couch_replicator/src/couch_replicator_manager.erl
Expand Up @@ -255,8 +255,7 @@ changes_feed_loop() ->
(_, _) ->
ok
end
),
couch_db:close(Db)
)
end
),
{Pid, RepDbName}.
Expand Down

0 comments on commit 8b94951

Please sign in to comment.