commit 79f93a7cf5e0fa8f8ae796a9b5679fe367a85025
parent e62fc4477f761a8e51a7f40e237a2fa18a091804
Author: srfsh <dev@srf.sh>
Date: Tue, 19 Jul 2022 00:52:45 +0300
restroom: style fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/zenflows/restroom.ex b/src/zenflows/restroom.ex
@@ -38,7 +38,7 @@ defp exec(name, data) do
url = to_charlist("http://#{host()}/api/#{name}")
hdrs = [{'user-agent', useragent()}]
http_opts = [
- {:timeout, 30000}, # 30 seconds
+ {:timeout, 30_000}, # 30 seconds
{:connect_timeout, 5000}, # 5 seconds
{:autoredirect, false},
]