nuke/lib
Jason Cameron 0f41388bd7
Add periodic cleanup job for DecayMap (#8) (#158)
* Add periodic cleanup job for DecayMap

see https://github.com/TecharoHQ/anubis/issues/8

* Refactor: Improve DecayMap cleanup tests and add Len method

- Refactored DecayMap cleanup tests to use the new Len method
  for more precise assertions.
- Added a Len method to DecayMap to retrieve the number of
  entries.
- Simplified conditional checks in Get method.

* chore(changelog): add entry

* fix(tests): Use Impl.expire for decaymap cleanup

Signed-off-by: Jason Cameron <git@jasoncameron.dev>

---------

Signed-off-by: Jason Cameron <git@jasoncameron.dev>
2025-03-29 23:24:06 -04:00
..
policy Linting and staticcheck fixes. (#101) 2025-03-25 10:02:05 -04:00
anubis.go Add periodic cleanup job for DecayMap (#8) (#158) 2025-03-29 23:24:06 -04:00
anubis_test.go Change how to make Anubis work without a reverse proxy (#86) 2025-03-28 13:38:34 -04:00
checkresult.go Refactor and split out things into cmd and lib (#77) 2025-03-22 18:44:49 -04:00
http.go Apply bits of the cookie settings PR one by one (#140) 2025-03-27 15:24:03 -04:00
random.go Refactor and split out things into cmd and lib (#77) 2025-03-22 18:44:49 -04:00