Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase DAYS_UNTIL_STALE from 30 to 180 #140

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/remote/git/repository.rs
Original file line number Diff line number Diff line change
@@ -181,8 +181,8 @@ pub fn pastable_ls_remote_command(transport: &Transport) -> Result<String, Repor
pastable_git_command(transport, &ls_remote_args(transport), None)
}

// Days until a commit is considered stale and will not be scanned
const DAYS_UNTIL_STALE: i64 = 30;
// Days until a commit is considered stale and will not be scanned (was 30, now 180 by customer request)
const DAYS_UNTIL_STALE: i64 = 180;

/// Get a list of all branches and tags for the given integration
/// This is done by doing this:
Loading