switch to 6 month duration for feed

This commit is contained in:
Emil Lerch 2025-07-15 15:48:56 -07:00
parent dce0f0d0e0
commit 13cbd9056f
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -38,8 +38,10 @@ fn printInfo(comptime fmt: []const u8, args: anytype) void {
stderr.print(fmt, args) catch {}; stderr.print(fmt, args) catch {};
} }
// Configuration: Only include releases from the last year in the output // TODO: Output a warning if xml is more than 10MB
const RELEASE_AGE_LIMIT_SECONDS: i64 = 365 * 24 * 60 * 60; // 1 year in seconds
// Configuration: Only include releases from the last 6 months
const RELEASE_AGE_LIMIT_SECONDS: i64 = 365 * 24 * 60 * 60 / 2; // 6 months in seconds
pub const Release = struct { pub const Release = struct {
repo_name: []const u8, repo_name: []const u8,