summaryrefslogtreecommitdiff
path: root/src/plop.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plop.erl')
-rw-r--r--src/plop.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plop.erl b/src/plop.erl
index b812e4a..8bde3db 100644
--- a/src/plop.erl
+++ b/src/plop.erl
@@ -34,6 +34,7 @@
-import(stacktrace, [call/2]).
-include("plop.hrl").
%%-include("db.hrl").
+-include("timeouts.hrl").
-include_lib("public_key/include/public_key.hrl").
%%%%% moved from plop.hrl, maybe remove
@@ -279,7 +280,7 @@ store_loop(TreeLeafHash, Requests, RepliesUntilQuorum) ->
end
end
after
- 2000 ->
+ ?PLOP_STORAGE_QUORUM_TIMEOUT ->
lager:error("leafhash ~s: storage failed: " ++
"~p replies until quorum, nodes left: ~p",
[mochihex:to_hex(TreeLeafHash), RepliesUntilQuorum,