Kwitsch
68a8476e48
chore(build): Automation workflows ( #972 )
...
* Added fork sync workflow(syncs the main branch with upstream every 30 minutes)
* Added monthly workflow run deletion(all skipped or canceld and runs older than 30days will be deleted)
* Removed Docker image build for main branch on forks
* Added documentation how to enable sync and docker build workflows
2023-04-03 16:33:16 +02:00
Dimitri Herzog
3b9fd7bafe
refactor: use groupedCache to optimize cache access ( #944 )
...
* refactor: use groupedCache to optimize cache access
* refactor: fix review findings
2023-03-27 13:23:01 +02:00
Dimitri Herzog
0157f4ce56
refactor: add generics to ExpiringCache ( #933 )
2023-03-15 20:32:35 +01:00
ThinkChaos
36160e916e
refactor: don't use a regex to check a string cache entry is a regex
2023-02-07 09:35:53 -05:00
Kwitsch
9abeaeddea
Added gofumpt ( #805 )
...
* fix linter errors
* added gofumpt
* Makefile cleanup
* gofumpt run
* Update Makefile
Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>
* go mod tidy
* fmt + lint
* go mod tidy
Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>
2022-12-26 22:11:45 +01:00
Dimitri Herzog
f78a57a94d
chore(build): add additional linters ( #774 )
...
* chore(build): add nolintlint linter
* chore(build): add usestdlibvars linter
2022-11-29 21:58:26 +01:00
Dimitri Herzog
48dbc5bc13
update: github.com/onsi/gomega
2022-09-03 23:43:26 +02:00
Dimitri Herzog
2aee3cec9b
improved LRU cache operations (avoid expensive iteration in TotalCount)
2022-06-03 22:29:41 +02:00
Dimitri Herzog
fd8c61c57c
improved LRU cache operations (avoid write lock on TotalCount)
2022-06-02 22:58:52 +02:00
Dimitri Herzog
6772438760
Memory optimization internal blacklist/whitelist cache ( #513 ) ( #514 )
2022-05-12 12:05:05 +02:00
Dimitri Herzog
a4b89537db
update golangci-lint ( #510 )
...
* update golangci-lint
* enable gomnd linter
* enable asciicheck linter
* enable bidichk linter
* enable durationcheck linter
* enable errchkjson linter
* enable errorlint linter
* enable exhaustive linter
* enable gomoddirectives linter
* enable gomodguard guard
* enable grouper linter
* enable grouper and ifshort linters
* enable importas linter
* enable makezero linter
* enable nestif linter
* enable nilerr linter
* enable nilnil linter
* enable nlreturn linter
* enable nolintlint linter
* enable predeclared linter
* enable sqlclosecheck linter
* enable tenv linter
* enable wastedassign linter
2022-05-10 09:09:50 +02:00
Dimitri Herzog
41febafd41
chore: test cleanup and refactoring ( #509 )
...
test: added additional assertions, introduced channels for bus event tests, refactoring, eliminating race conditions in tests, enable race check in tests
2022-05-06 22:34:08 +02:00
ThinkChaos
62c7816ab3
Support of DoH/DoT as bootstrap DNS ( #485 )
2022-04-22 22:12:35 +02:00
Dimitri Herzog
108d5ba9f7
test: increased the timeout
2022-03-22 22:11:13 +01:00
ThinkChaos
27c8cbf2b7
Update to gingko v2 ( #447 )
2022-03-03 11:27:27 +01:00
Dimitri Herzog
759f55d89c
Rewrite DNS response cache ( #378 ) ( #413 )
2022-01-20 16:45:29 +01:00