summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-19 21:01:55 +0200
committerPaul Buetow <paul@buetow.org>2026-03-19 21:01:55 +0200
commitb1faeca09f1cd98a64e5c7c17db990b19803750a (patch)
tree7a15723d6390d34539efac5c7e978a1e62915e25
parentd24a40f2f66999f36ab4d0e26cfe88c38d12e64e (diff)
chore(release): bump version to 0.15.7v0.15.7
Increase full sync recent-days window from 7 to 17 days. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--internal/cli/throttle.go2
-rw-r--r--internal/state/state.go2
-rw-r--r--internal/version/version.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/internal/cli/throttle.go b/internal/cli/throttle.go
index d285350..5241782 100644
--- a/internal/cli/throttle.go
+++ b/internal/cli/throttle.go
@@ -16,7 +16,7 @@ const (
defaultSyncInterval = 24 * time.Hour
throttleMinDays = 60
throttleMaxDays = 120
- recentDays = 7
+ recentDays = 17
)
func loadSyncState(workDir string) (*state.Manager, *state.State, error) {
diff --git a/internal/state/state.go b/internal/state/state.go
index 4d5f197..4cae156 100644
--- a/internal/state/state.go
+++ b/internal/state/state.go
@@ -73,7 +73,7 @@ func (s *State) HasRunWithinWeek() bool {
if s.LastBatchRun.IsZero() {
return false
}
- return time.Since(s.LastBatchRun) < 7*24*time.Hour
+ return time.Since(s.LastBatchRun) < 17*24*time.Hour
}
// UpdateBatchRunTime updates the last batch run timestamp to now
diff --git a/internal/version/version.go b/internal/version/version.go
index 15929ce..5be3a9e 100644
--- a/internal/version/version.go
+++ b/internal/version/version.go
@@ -7,7 +7,7 @@ import (
var (
// Version is the current version of gitsyncer
- Version = "0.15.6"
+ Version = "0.15.7"
// GitCommit is the git commit hash at build time
GitCommit = "unknown"