blocky/config
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.go Add maxErrorsPerFile blocking configuration (#986) 2023-04-12 20:43:49 +02:00
blocking_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
caching.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
caching_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
client_lookup.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
client_lookup_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
conditional_upstream.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
conditional_upstream_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
config.go build(deps): update github.com/creasty/defaults (#929) 2023-03-14 17:45:42 +01:00
config_enum.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
config_suite_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
config_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
custom_dns.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
custom_dns_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
duration.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
duration_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
filtering.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
filtering_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
hosts_file.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
hosts_file_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
metrics.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
metrics_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
parallel_best.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
parallel_best_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
qtype_set.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
qtype_set_test.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
query_log.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
query_log_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
rewriter.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00
rewriter_test.go chore(build): Automation workflows (#972) 2023-04-03 16:33:16 +02:00
upstream.go refactor: configuration rework (usage and printing) (#920) 2023-03-12 22:14:10 +01:00