Matthieu MOREL
1c6ec19a86
fix: use ErrorContains(t, err instead of Contains(t, err.Error() ( #20220 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-04 09:36:05 -04:00
Pavel
0894ddc89e
fix( #19306 ): close redis cache gzip writer ( #19307 )
...
* close redis cache writer
flush is not enough, we need to close the writer too
Signed-off-by: Pavel Aborilov <aborilov@gmail.com >
* test compressed redis value
Signed-off-by: Pavel Aborilov <aborilov@gmail.com >
---------
Signed-off-by: Pavel Aborilov <aborilov@gmail.com >
2024-07-31 08:57:46 +05:30
Matthieu MOREL
3dcddee199
chore: enable float-compare rule from testifylint ( #18721 )
...
* chore: enable float-compare rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update managed_fields_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update managed_fields_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-21 14:16:32 -04:00
Matthieu MOREL
eac08dcf79
chore: extend require-error rule from testifylint ( #18681 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-15 13:51:18 -04:00
Matthieu MOREL
3160369469
chore: enable compare and nil-compare rules from testifylint linter ( #18581 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 16:38:35 +00:00
Matthieu MOREL
7cf5ed06d4
chore: enable gofumpt and whitespace linters ( #18567 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 15:41:55 +00:00
Matthieu MOREL
4a01f8a69a
chore: enable expected-actual rule from testifylint linter ( #18575 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 20:33:00 +00:00
Yudi A Phanama
be1f0eafb8
fix(redis): go-redis v9 regression missing metrics and reconnect hook ( #13415 ) ( #15275 )
...
* fix(redis): go-redis v9 regression missing metrics and reconnect hook
Signed-off-by: phanama <yudiandreanp@gmail.com >
* fix: golangci lint return values not checked in tests
Signed-off-by: phanama <yudiandreanp@gmail.com >
* chore: move dnsError var locally into func
Signed-off-by: phanama <yudiandreanp@gmail.com >
---------
Signed-off-by: phanama <yudiandreanp@gmail.com >
2024-01-29 10:31:15 -05:00
Nolan Emirot
7b74e1993e
chore: update redis client to v9 ( #12746 )
...
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com >
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com >
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com >
---------
Signed-off-by: emirot <emirot.nolan@gmail.com >
2023-03-08 09:42:10 -05:00
Mitsuo Heijo
f0975b9ad3
chore: remove incompatible miniredis dependency ( #10566 )
...
Signed-off-by: Mitsuo Heijo <mitsuo.heijo@gmail.com >
Signed-off-by: Mitsuo Heijo <mitsuo.heijo@gmail.com >
2022-09-15 08:10:29 -04:00
Alexander Matyushentsev
9b4f468f72
feat: support gzip compression for data stored in redis ( #10190 )
...
* feat: support gzip compression for data stored in redis
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* allow using different redis compression algorithms
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2022-08-15 16:15:27 -04:00
dherman
b3be910465
perf: upgrade redis deps to enable compression ( #4259 )
...
Newer versions of the redis go libraries include built-in support for
compression of values going to and from redis. Since the controller
is extremely chatty and makes heavy use of redis for caching, this
reduces the amount of bandwidth requires significantly.
This change should be backwards compatible since the redis libraries
detect whether or not compression was used and does not error in the
no compression case.
Fixes #4256
2020-09-04 13:59:59 -07:00
Josh Soref
a724574ede
chore: Spelling ( #3647 )
...
chore: Spelling (#3647 )
2020-05-27 10:22:13 -07:00
jannfis
1b1df76ef2
chore: Code coverage offensive 03: util/cache ( #3335 )
...
* Add dependency for miniredis, used for unit testing Redis cache
* Add more tests
2020-04-02 09:16:42 -07:00