switch to 6 month duration for feed
This commit is contained in:
parent
dce0f0d0e0
commit
13cbd9056f
1 changed files with 4 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue