You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2019/10/03 19:03:02 UTC

[couchdb] branch prototype/fdb-layer-couch-jobs-timeouts created (now 9a6d211)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch prototype/fdb-layer-couch-jobs-timeouts
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at 9a6d211  Fix timeout in couch_views

This branch includes the following new commits:

     new 9a6d211  Fix timeout in couch_views

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: Fix timeout in couch_views

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch prototype/fdb-layer-couch-jobs-timeouts
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 9a6d211f78cc3dbbdd42959917e9ff4ca347ee04
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Thu Oct 3 15:01:50 2019 -0400

    Fix timeout in couch_views
    
    set_type_timeout takes seconds as the argument but we gave it milliseconds
    
    branch prototype/fdb-layer-couch-jobs-timeouts # Changes to be committed: #
    modified: src/couch_views/src/couch_views_jobs.erl #
---
 src/couch_views/src/couch_views_jobs.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch_views/src/couch_views_jobs.erl b/src/couch_views/src/couch_views_jobs.erl
index 16fc410..87e4fea 100644
--- a/src/couch_views/src/couch_views_jobs.erl
+++ b/src/couch_views/src/couch_views_jobs.erl
@@ -29,7 +29,7 @@
 
 
 set_timeout() ->
-    couch_jobs:set_type_timeout(?INDEX_JOB_TYPE, 6 * 1000).
+    couch_jobs:set_type_timeout(?INDEX_JOB_TYPE, 6).
 
 
 build_view(TxDb, Mrst, UpdateSeq) ->