load disposable emails list after 20 seconds
This commit is contained in:
parent
6172bebeb0
commit
fe1a41ae99
|
@ -82,8 +82,7 @@ final class Env(
|
|||
lazy val emailAddress = new EmailAddress(disposableEmailDomain)
|
||||
|
||||
private lazy val disposableEmailDomain = new DisposableEmailDomain(DisposableEmailProviderUrl)
|
||||
// scheduler.once(25 seconds)(disposableEmail.refresh)
|
||||
scheduler.once(5 seconds)(disposableEmailDomain.refresh)
|
||||
scheduler.once(20 seconds)(disposableEmailDomain.refresh)
|
||||
scheduler.effect(DisposableEmailRefreshDelay, "Refresh disposable email domains")(disposableEmailDomain.refresh)
|
||||
|
||||
lazy val tor = new Tor(TorProviderUrl)
|
||||
|
|
Loading…
Reference in a new issue