You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ei...@apache.org on 2020/04/28 12:32:15 UTC
[couchdb] branch fix-fdb-tx-options created (now ec93964)
This is an automated email from the ASF dual-hosted git repository.
eiri pushed a change to branch fix-fdb-tx-options
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at ec93964 Change tx timeout and tx retry_limit to be integers
This branch includes the following new commits:
new ec93964 Change tx timeout and tx retry_limit to be integers
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: Change tx timeout and tx retry_limit to be integers
Posted by ei...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eiri pushed a commit to branch fix-fdb-tx-options
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit ec939640f193333903cc31d7e057f2519d07231b
Author: Eric Avdey <ei...@eiri.ca>
AuthorDate: Tue Apr 28 09:31:47 2020 -0300
Change tx timeout and tx retry_limit to be integers
---
src/fabric/src/fabric2_server.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/fabric/src/fabric2_server.erl b/src/fabric/src/fabric2_server.erl
index 204246a..dd72359 100644
--- a/src/fabric/src/fabric2_server.erl
+++ b/src/fabric/src/fabric2_server.erl
@@ -45,8 +45,8 @@
-define(TX_OPTIONS_SECTION, "fdb_tx_options").
-define(RELISTEN_DELAY, 1000).
--define(DEFAULT_TIMEOUT_MSEC, "60000").
--define(DEFAULT_RETRY_LIMIT, "100").
+-define(DEFAULT_TIMEOUT_MSEC, 60000).
+-define(DEFAULT_RETRY_LIMIT, 100).
-define(TX_OPTIONS, #{
machine_id => {binary, undefined},