]> gitweb.michael.orlitzky.com - email-validator.git/commitdiff
Increase the timeout from 5s to 10s.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 5 Oct 2013 19:07:53 +0000 (15:07 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 5 Oct 2013 19:07:53 +0000 (15:07 -0400)
src/Main.hs

index b7316b75b5afd04d4e28cef3b8a8271cebf1fc9e..ac72ad513919bc932866bed73608268935ec8062 100644 (file)
@@ -33,10 +33,10 @@ import EmailAddress
 import ExitCodes (exit_input_file_doesnt_exist)
 
 
--- | Resolver parameters. We increase the default timeout from 3 to 5
+-- | Resolver parameters. We increase the default timeout from 3 to 10
 --   seconds.
 resolv_conf ::  ResolvConf
-resolv_conf = defaultResolvConf { resolvTimeout = 5 * 1000 * 1000 }
+resolv_conf = defaultResolvConf { resolvTimeout = 10 * 1000 * 1000 }
 
 -- | A list of common domains, there's no need to waste MX lookups
 --   on these.