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

Bump feign timeout #2491

Merged
merged 7 commits into from Oct 23, 2017
Merged

Bump feign timeout #2491

merged 7 commits into from Oct 23, 2017

Conversation

nziebart
Copy link
Contributor

@nziebart nziebart commented Oct 16, 2017

Goals (and why):
Fixes #2455

Implementation Description (bullets):

  • Add some padding to the feign timeout so it doesn't exactly align with the lock request timeout

Concerns (what feedback would you like?):

Where should we start reviewing?:

Priority (whenever / two weeks / yesterday):


This change is Reviewable

// add some padding to the feign timeout, as in many cases lock requests default to a 60 second timeout,
// and we don't want it to exactly align with the feign timeout
private static final Request.Options DEFAULT_FEIGN_OPTIONS = new Request.Options(
10_000, 65_000);
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we don't have a reference to the default lock request timeout (AtlasDbConstants.DEFAULT_TRANSACTION_LOCK_ACQUIRE_TIMEOUT_MS) so it's inconvenient to try to perform math on that.

@codecov-io
Copy link

codecov-io commented Oct 18, 2017

Codecov Report

❗ No coverage uploaded for pull request base (develop@628de22). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #2491   +/-   ##
==========================================
  Coverage           ?   60.02%           
  Complexity         ?     4656           
==========================================
  Files              ?      860           
  Lines              ?    40112           
  Branches           ?     4070           
==========================================
  Hits               ?    24077           
  Misses             ?    14567           
  Partials           ?     1468
Impacted Files Coverage Δ Complexity Δ
...lantir/atlasdb/http/AtlasDbFeignTargetFactory.java 0% <0%> (ø) 0 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 628de22...556c385. Read the comment docs.

@fsamuel-bs fsamuel-bs assigned fsamuel-bs and unassigned jeremyk-91 Oct 23, 2017
@fsamuel-bs fsamuel-bs merged commit e3a8cff into develop Oct 23, 2017
@fsamuel-bs fsamuel-bs deleted the nziebart/bump-feign-timeout branch January 5, 2018 15:31
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

4 participants