summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2017-05-30 09:09:31 +0100
committerGitHub <noreply@github.com>2017-05-30 09:09:31 +0100
commit094489f99ad00596e3e4df71bbaea3ad26ac3937 (patch)
tree8435de79c7544796896cd043d7374740056abf53
parent5b31b0d79aa2c0fefefb0b35e2e3fab9822eca94 (diff)
parent80d4a643d47ae2f522feceed0be308809518112e (diff)
downloadcouchdb-094489f99ad00596e3e4df71bbaea3ad26ac3937.tar.gz
Merge pull request #5 from jaydoane/improve-restart-strategy
Improve restart strategy
-rw-r--r--src/jwtf_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jwtf_sup.erl b/src/jwtf_sup.erl
index 2256ac53a..7cf56e84f 100644
--- a/src/jwtf_sup.erl
+++ b/src/jwtf_sup.erl
@@ -33,7 +33,7 @@ init([]) ->
{ets_lru, start_link, [jwks_cache_lru, lru_opts()]},
permanent, 5000, worker, [ets_lru]}
],
- {ok, { {one_for_all, 0, 1}, Children} }.
+ {ok, { {one_for_all, 5, 10}, Children} }.
%%====================================================================
%% Internal functions