You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2021/08/10 21:23:25 UTC
[couchdb] branch 3.x-fix-maybe-close-indexer created (now 77db58d)
This is an automated email from the ASF dual-hosted git repository.
chewbranca pushed a change to branch 3.x-fix-maybe-close-indexer
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at 77db58d Ensure maybe_close message is sent to correct process
This branch includes the following new commits:
new 77db58d Ensure maybe_close message is sent to correct process
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 01/01: Ensure maybe_close message is sent to correct
process
Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
chewbranca pushed a commit to branch 3.x-fix-maybe-close-indexer
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 77db58de2916caf2d6905e8ff3160e88425e155b
Author: Russell Branca <ch...@apache.org>
AuthorDate: Tue Aug 10 14:23:06 2021 -0700
Ensure maybe_close message is sent to correct process
---
src/couch_index/src/couch_index.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/couch_index/src/couch_index.erl b/src/couch_index/src/couch_index.erl
index cfe0d9e..83eadc7 100644
--- a/src/couch_index/src/couch_index.erl
+++ b/src/couch_index/src/couch_index.erl
@@ -363,7 +363,7 @@ handle_info(maybe_close, State) ->
{stop, normal, State}
end;
_ ->
- erlang:send_after(?CHECK_INTERVAL, self, maybe_close),
+ erlang:send_after(?CHECK_INTERVAL, self(), maybe_close),
{noreply, State}
end;
handle_info({'DOWN', _, _, _Pid, _}, #st{mod=Mod, idx_state=IdxState}=State) ->