aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_sup.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun_sup.erl')
-rw-r--r--src/gun_sup.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gun_sup.erl b/src/gun_sup.erl
index b7a9c82..b765dd9 100644
--- a/src/gun_sup.erl
+++ b/src/gun_sup.erl
@@ -33,7 +33,6 @@ start_link() ->
%% supervisor.
init([]) ->
- Procs = [
- {gun, {gun, start_link, []},
- transient, 5000, worker, [gun]}],
+ Procs = [{gun, {gun, start_link, []},
+ temporary, 5000, worker, [gun]}],
{ok, {{simple_one_for_one, 10, 10}, Procs}}.