autobrr/internal/http
soup e6f32596a1
fix(releases): delete older than X (#993)
* fix(release): DeleteOlder func for zero duration

resolves a bug in the `DeleteOlder` function where recent 24-hour data wasn't deleted when set to `delete everything`. We now correctly set the olderThanTimestamp to a future date when duration is zero, ensuring complete deletion of all records.

* fix(releases): delete older

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-07-22 14:49:28 +02:00
..
action.go feat(releases): replay actions (#932) 2023-05-15 21:30:04 +02:00
apikey.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
auth.go fix(auth): too restrictive session handling (#933) 2023-05-15 19:09:06 +02:00
config.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
download_client.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
encoder.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
feed.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
filter.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
health.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
indexer.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
irc.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
logs.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
logs_sanitize_test.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
middleware.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
notification.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
release.go fix(releases): delete older than X (#993) 2023-07-22 14:49:28 +02:00
server.go fix(http): set ReadHeaderTimeout to mitigate Slowloris (#946) 2023-05-21 16:27:07 +02:00
update.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00