Skip to content

Conversation

Weves
Copy link
Contributor

@Weves Weves commented Jun 28, 2025

Description

^

How Has This Been Tested?

👀

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

@Weves Weves requested a review from a team as a code owner June 28, 2025 22:04
Copy link

vercel bot commented Jun 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2025 10:07pm

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Optimizes cloud performance by introducing dynamic expiration times for validation blocks across multiple services, reducing load on primary workers in multi-tenant environments.

  • Added _get_fence_validation_block_expiration() in multiple services to scale block timeouts using cloud beat multiplier
  • Extended pruning block expiration from 3600s base using dynamic scaling in backend/onyx/background/celery/tasks/pruning/tasks.py
  • Modified indexing fence validation intervals in backend/onyx/background/celery/tasks/indexing/tasks.py from 60s base timing
  • Implemented dynamic scaling for external group sync validation blocks in backend/ee/onyx/background/celery/tasks/external_group_syncing/tasks.py

4 files reviewed, 2 comments
Edit PR Review Bot Settings | Greptile

@Weves Weves enabled auto-merge June 28, 2025 22:41
@Weves Weves added this pull request to the merge queue Jun 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 29, 2025
@Weves Weves merged commit e480946 into main Jun 29, 2025
14 of 15 checks passed
@Weves Weves deleted the improve-cloud-primary-throughout branch June 29, 2025 00:56
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.

2 participants