Skip to content
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

ref(config): Rename envelope buffer config fields #985

Merged
merged 4 commits into from
Apr 23, 2021

Conversation

jan-auer
Copy link
Member

Renames two configuration fields since they apply to all envelopes. The former naming is still supported and soft-deprecated:

  • cache.event_buffer_size -> cache.envelope_buffer_size
  • cache.event_expiry -> cache.envelope_expiry

See also #984 for related changes
This will require an update in sentry-docs

@jan-auer jan-auer requested review from tonyo and a team April 23, 2021 10:29
@jan-auer jan-auer self-assigned this Apr 23, 2021
@jan-auer
Copy link
Member Author

@tonyo there's a regression test checked in. Please verify that you're on board with this change.

relay_expiry: 3600, // 1 hour
event_expiry: 600, // 10 minutes
event_buffer_size: 1000,
relay_expiry: 3600, // 1 hour
Copy link
Member

Choose a reason for hiding this comment

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

fwiw this alignment used to be the same from L588-595

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, this is all rustfmt doing its thing. It aligns consecutive comments, but not all in a group.

* master:
  ref(server): Rename components dealing with envelopes (#984)
@jan-auer jan-auer enabled auto-merge (squash) April 23, 2021 11:21
@jan-auer jan-auer merged commit c002eca into master Apr 23, 2021
@jan-auer jan-auer deleted the ref/config-envelope-buffer branch April 23, 2021 11:26
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.

3 participants