blocky/resolver
mandrav 015b565137
Add maxErrorsPerFile blocking configuration (#986)
* Add maxErrorsPerFile blocking configuration

The default max errors per file of 5 is too small IMHO.
This commit makes this number user-configurable.

* squash: fix lint

* squash: docs

* squash: change type to int to allow -1

* squash: test that the `maxErrorsPerFile` is actually used

---------

Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>
2023-04-12 20:43:49 +02:00
..
blocking_resolver.go Add maxErrorsPerFile blocking configuration (#986) 2023-04-12 20:43:49 +02:00
blocking_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
bootstrap.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
bootstrap_test.go chore(test): fix freezing test (#932) 2023-03-15 20:25:52 +01:00
caching_resolver.go refactor: add generics to ExpiringCache (#933) 2023-03-15 20:32:35 +01:00
caching_resolver_test.go refactor: add generics to ExpiringCache (#933) 2023-03-15 20:32:35 +01:00
client_names_resolver.go refactor: add generics to ExpiringCache (#933) 2023-03-15 20:32:35 +01:00
client_names_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
conditional_upstream_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
conditional_upstream_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
custom_dns_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
custom_dns_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
ede_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
ede_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
filtering_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
filtering_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
fqdn_only_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
fqdn_only_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
hosts_file_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
hosts_file_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
metrics_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
metrics_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
mock_udp_upstream_server.go Added gofumpt (#805) 2022-12-26 22:11:45 +01:00
mocks_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
noop_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
noop_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
parallel_best_resolver.go chore(build): update weightedrand to v2 (#934) 2023-03-16 07:49:23 +01:00
parallel_best_resolver_test.go chore(build): update weightedrand to v2 (#934) 2023-03-16 07:49:23 +01:00
query_logging_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
query_logging_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
resolver_suite_test.go chore: test cleanup and refactoring (#509) 2022-05-06 22:34:08 +02:00
resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
rewriter_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
rewriter_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
sudn_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
sudn_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
upstream_resolver.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
upstream_resolver_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00