Johnny
4bd0f29ee5
fix: resolve linter warning and cache race condition
...
- Suppress revive redundant-test-main-exit warning with //nolint
- Fix data race in cache.Clear() by using Delete() instead of map replacement
- Both changes maintain correct behavior while fixing CI failures
2026-01-14 23:50:37 +08:00
Johnny
7cc2df9254
chore: fix linter
2025-08-31 20:22:32 +08:00
johnnyjoy
34fb3f1514
chore: fix linter
2025-08-03 19:55:04 +08:00
Andrea Marchetta
71464779dd
fix: change itemCount into an Int64 ( #4945 )
2025-08-03 19:07:17 +08:00
jinjingroad
03399a6007
refactor: use the built-in max/min to simplify the code ( #4781 )
...
Signed-off-by: jinjingroad <jinjingroad@sina.com>
2025-06-24 07:12:02 +08:00
Steven
8520e30721
fix: handle type assertion safely
2025-05-27 23:44:39 +08:00
Steven
ef6f80d925
chore: fix linter
2025-05-27 23:22:32 +08:00
Steven
81ae42518e
chore: fix linter
2025-05-27 22:49:56 +08:00
Steven
ad2c5f0d05
refactor: store cache
2025-05-27 22:06:41 +08:00