change threshold to 90 days
This commit is contained in:
parent
ea08ac7497
commit
a559a621c3
1 changed files with 3 additions and 3 deletions
|
@ -15,6 +15,9 @@ const utils = @import("utils.zig");
|
|||
|
||||
const Provider = @import("Provider.zig");
|
||||
|
||||
// Configuration: Only include releases from the last n days
|
||||
const RELEASE_AGE_LIMIT_SECONDS: i64 = 90 * std.time.s_per_day;
|
||||
|
||||
fn print(comptime fmt: []const u8, args: anytype) void {
|
||||
if (comptime @import("builtin").is_test) {
|
||||
const build_options = @import("build_options");
|
||||
|
@ -56,9 +59,6 @@ fn printInfo(comptime fmt: []const u8, args: anytype) void {
|
|||
stderr.print(fmt, args) catch {};
|
||||
}
|
||||
|
||||
// Configuration: Only include releases from the last 365 days
|
||||
const RELEASE_AGE_LIMIT_SECONDS: i64 = 365 * std.time.s_per_day; // Get from last 365 days
|
||||
|
||||
pub const Release = struct {
|
||||
repo_name: []const u8,
|
||||
tag_name: []const u8,
|
||||
|
|
Loading…
Add table
Reference in a new issue