Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit 0a27bd4

Browse files
committed
Fix child spawning to be transient which means that the module gets restarted only when an error occured but not when a normal stop is being sent.
1 parent 9cd31b2 commit 0a27bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod_log_chat_mysql5.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ start(Host, Opts) ->
4343
ChildSpec =
4444
{Proc,
4545
{?MODULE, start_link, [Host, Opts]},
46-
permanent,
46+
transient,
4747
50,
4848
worker,
4949
[?MODULE]},

0 commit comments

Comments
 (0)