Repository navigation
perf: move the hourly estate reconcile 45 minutes off the shared hourly tick - #41
Conversation
…ly tick CharacterQueueEstate.reconcile (about 90 ms on Main, mostly fsync) ran at enable + 1 h and hourly after, the tick most plugins' hourly estate passes share (RPCharacters' coordinator runs the tick before). The boot pass still runs on the first tick; the hourly passes now start at 1 h 45 min and repeat every hour, the same pattern Archaeo uses with a 15 minute offset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
@coderabbitai full review |
Action performed
|
Summary
CharacterQueueEstate.reconcile(about 90 ms on Main, mostly fsync inQueueFiles.write) ran at enable + 1 h and hourly after. That is the tick most plugins' hourly estate passes share, with the RPCharacters coordinator on the tick before.Nothing players see depends on this timing: RPCharacters' coordinator settles participants itself when an estate is decided and retries hourly. The participant's own pass only backs that up.
Tests
QueueEstateTestchecks the boot pass at tick 1, the hourly timer at 126,001 / 72,000, that nothing else is scheduled, and that both tasks runreconcile.No gameplay change.
Dev test
Dev (TFMCDev01, 11-05): "Recycler enabled.", no estate warnings.
🤖 Generated with Claude Code