Permalink
Browse files

server: don't choke if connection handlers crash

  • Loading branch information...
1 parent e607f7e commit 4dfc9e3fd592b4f5566199edafdc0a408c6386d5 @jkloetzke committed Feb 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 server/apps/peerdrive/src/peerdrive_servlet_sup.erl
View
4 server/apps/peerdrive/src/peerdrive_servlet_sup.erl
@@ -26,11 +26,11 @@ start_link(Id, Module, ServletOpt) ->
init({Module, ServletOpt}) ->
{ok, {
- {simple_one_for_one, 1, 10},
+ {simple_one_for_one, 1000, 1},
[{
servlet,
{peerdrive_gen_servlet, start_link, [Module, ServletOpt]},
- transient,
+ temporary,
brutal_kill,
worker,
[]

0 comments on commit 4dfc9e3

Please sign in to comment.