Limen.Signal.Fcrdns.Resolver (limen v0.2.1)

Copy Markdown View Source

Verifies an instance's queued crawler addresses in the background.

Every :interval milliseconds it takes the addresses Limen.Signal.Fcrdns queued, verifies them concurrently (at most :concurrency lookups, each bounded by :timeout), and caches the results for :verified_ttl, :failed_ttl or, after a transient DNS error, :error_ttl seconds.

Summary

Functions

Returns a specification to start this module under a supervisor.

Resolves everything instance queued now and waits until it is done.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

run(instance)

@spec run(atom()) :: :ok

Resolves everything instance queued now and waits until it is done.