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

fix: Use Smaller timeout value when regex matching #431

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

ajay-sentry
Copy link
Contributor

@ajay-sentry ajay-sentry commented Mar 4, 2024

Purpose/Motivation

Aim of this PR is to fail a little bit faster when doing the regex matching.

.NET's native timeout value for regex matching looks to be 2 seconds.

Links to relevant tickets

What does this PR do?

  • Lowers timeout value from 5 seconds to 2

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@ajay-sentry ajay-sentry requested a review from a team as a code owner March 4, 2024 17:05
@codecov-qa
Copy link

codecov-qa bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.95%. Comparing base (bd7cf76) to head (214cefd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #431   +/-   ##
=======================================
  Coverage   95.95%   95.95%           
=======================================
  Files         643      643           
  Lines       16999    16999           
=======================================
  Hits        16312    16312           
  Misses        687      687           
Flag Coverage Δ
unit 95.95% <ø> (ø)
unit-latest-uploader 95.95% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bd7cf76) 95.95% compared to head (214cefd) 95.95%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #431   +/-   ##
=======================================
  Coverage   95.95%   95.95%           
=======================================
  Files         643      643           
  Lines       16999    16999           
=======================================
  Hits        16312    16312           
  Misses        687      687           
Flag Coverage Δ
unit 95.95% <ø> (ø)
unit-latest-uploader 95.95% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
services/profiling.py 100.00% <ø> (ø)
upload/views/empty_upload.py 91.17% <ø> (ø)

Impacted file tree graph

@ajay-sentry ajay-sentry merged commit 6a36168 into main Mar 4, 2024
18 checks passed
@ajay-sentry ajay-sentry deleted the Ajay/smaller-timeout branch March 4, 2024 17:34
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.

None yet

2 participants