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

Prevent git_clone to interfere with needle tasks #5862

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

perlpunk
Copy link
Contributor

Copy link

codecov bot commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.51%. Comparing base (14d7239) to head (6f0fc37).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5862   +/-   ##
=======================================
  Coverage   98.51%   98.51%           
=======================================
  Files         394      394           
  Lines       38730    38737    +7     
=======================================
+ Hits        38153    38160    +7     
  Misses        577      577           

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

my $retry_delay = {delay => 30 + int(rand(10))};
# Don't interfere with any needle task
return $job->retry($retry_delay)
Copy link
Member

Choose a reason for hiding this comment

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

Each needle task shouldn't take that long. I would use much shorter delays here. How about 3s?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The delete_needles task can take longer I guess. But I reduced it to 5s now.

@perlpunk perlpunk marked this pull request as ready for review August 16, 2024 15:59
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

3 participants