You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7efaa84
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): pull request discovery no longer rereads every idle branch every few minutes
The discovery sweep in ThreadPullRequestServiceV2 runs every minute while
a client is in the foreground and looked up every unsettled branch group,
the same recurring load the settlement sweep had.
The recheck deadline moves into a helper both sweeps use. A scheduled
discovery sweep skips a branch group that last had no pull request until
a twelfth of the time since its threads last changed has passed, at least
five minutes and at most a day. A thread's own events, a backfill and a
thread with a saved branch pull request still read at once.
Fixes#35319
Co-Authored-By: Claude Fable 5.2 <[email protected]>
0 commit comments