mirror of https://github.com/0xERR0R/blocky.git
fda2dbe9df
* RedisConfig -> Redis * moved redis config to seperate file * bugfix in config test during parallel processing * implement config.Configurable in Redis config * use Context in GetRedisCache * use Context in New * caching resolver test fix * use Context in PublishEnabled * use Context in getResponse * remove ctx field * bugfix in api interface test * propperly close channels * set ruler for go files from 80 to 111 * line break because function length is to long * only execute redis.New if it is enabled in config * stabilized flaky tests * Update config/redis.go Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com> * Update config/redis_test.go Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com> * Update config/redis_test.go Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com> * Update config/redis_test.go Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com> * Update config/redis.go Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com> * Update config/redis_test.go Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com> * fix ruler * redis test refactoring * vscode setting cleanup * removed else if chain * Update redis_test.go * context race fix * test fail on missing seintinel servers * cleanup context usage * cleanup2 * context fixes * added context util * disabled nil context rule for tests * copy paste error ctxSend -> CtxSend * use util.CtxSend * fixed comment * fixed flaky test * failsafe and tests --------- Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com> |
||
---|---|---|
.. | ||
migration | ||
blocking.go | ||
blocking_test.go | ||
bytes_source.go | ||
bytes_source_enum.go | ||
caching.go | ||
caching_test.go | ||
client_lookup.go | ||
client_lookup_test.go | ||
conditional_upstream.go | ||
conditional_upstream_test.go | ||
config.go | ||
config_enum.go | ||
config_suite_test.go | ||
config_test.go | ||
custom_dns.go | ||
custom_dns_test.go | ||
duration.go | ||
duration_test.go | ||
ecs.go | ||
ecs_test.go | ||
filtering.go | ||
filtering_test.go | ||
hosts_file.go | ||
hosts_file_test.go | ||
metrics.go | ||
metrics_test.go | ||
qtype_set.go | ||
qtype_set_test.go | ||
query_log.go | ||
query_log_test.go | ||
redis.go | ||
redis_test.go | ||
rewriter.go | ||
rewriter_test.go | ||
sudn.go | ||
sudn_test.go | ||
upstream.go | ||
upstreams.go | ||
upstreams_test.go |