Skip to content

chore: increase merge suggestion stale re-run interval from 1h to 24h#9

Merged
davidhoo merged 1 commit into
mainfrom
chore/stale-rerun-24h
May 19, 2026
Merged

chore: increase merge suggestion stale re-run interval from 1h to 24h#9
davidhoo merged 1 commit into
mainfrom
chore/stale-rerun-24h

Conversation

@davidhoo
Copy link
Copy Markdown
Owner

Summary

  • defaultMergeSuggestionStaleSeconds 3600 → 86400(1小时 → 24小时)
  • 同步修改 RunBackgroundSlicestaleSeconds <= 0 时的硬编码兜底值

Why

每小时自动重跑意义很小:所有修改人物数据的操作都有对应 MarkDirty 触发,数据不变时重跑结果完全相同。PR #8DirtyGeneration 修复已解决并发 MarkDirty 被静默丢失的问题。24小时作为纯兜底手段更合理。

🤖 Generated with Claude Code

The hourly stale re-run adds little value: all person-modifying operations
(merge, split, move_faces, category change, detection, recluster) already
call MarkDirty immediately, so re-running on unchanged data produces
identical suggestions. The DirtyGeneration fix (PR #8) also closed the
race condition where a concurrent MarkDirty could be silently lost.

24h is a more appropriate fallback interval — pure safety net for edge
cases like a missed MarkDirty trigger, not a primary discovery mechanism.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@davidhoo davidhoo merged commit 3ec6327 into main May 19, 2026
2 checks passed
@davidhoo davidhoo deleted the chore/stale-rerun-24h branch May 19, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant