-
Notifications
You must be signed in to change notification settings - Fork 459
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
WIP: snapchain migration #2443
base: main
Are you sure you want to change the base?
WIP: snapchain migration #2443
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
|
Report too large to display inline |
99373fd
to
5a603de
Compare
Why is this change needed?
Describe why this issue should be fixed and link to any relevant design docs, issues or other relevant items.
Merge Checklist
Choose all relevant options below by adding an
x
now or at any time before submitting for reviewPR-Codex overview
This PR introduces a new RPC method for pruning messages, along with related request and response message definitions in Protobuf. It updates various components to support this functionality, including adjustments to logging, message handling, and scheduling.
Detailed summary
PruneMessagesRequest
andPruneMessagesResponse
messages inprotobufs/schemas/request_response.proto
.PruneMessages
RPC method inprotobufs/schemas/rpc.proto
.clearCachedMessageCount
method instoreEventHandler.ts
.DEFAULT_PRUNE_MESSAGES_JOB_CRON
to run every 5 minutes inpruneMessagesJob.ts
.adminServer.ts
for pruning messages.pruneMessages
method inAdminService
andAdminServiceClient
.ingestMessagesFromDb
to callpruneMessages
after submitting messages.