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 #612 API for configuring pooled connection idle time #792

Merged
merged 1 commit into from
Jul 29, 2019

Conversation

violetagg
Copy link
Member

No description provided.

.delayUntil(ch -> conn.inbound().receive()));

ChannelId id1 = id.blockLast(Duration.ofSeconds(30));
Mono.delay(Duration.ofMillis(30)).block();
Copy link
Member

Choose a reason for hiding this comment

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

is that on purpose? that feels weirder than using Thread.sleep(30) or Awaitility 😉

Copy link
Member Author

Choose a reason for hiding this comment

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

;)
changed to Thread.sleep(30)

Copy link
Member

@simonbasle simonbasle left a comment

Choose a reason for hiding this comment

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

nitpick commented inline, but the change looks good to me 👍

@codecov-io
Copy link

codecov-io commented Jul 29, 2019

Codecov Report

Merging #792 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #792      +/-   ##
============================================
+ Coverage     67.05%   67.11%   +0.05%     
- Complexity     1427     1436       +9     
============================================
  Files           137      137              
  Lines          6714     6717       +3     
  Branches        871      873       +2     
============================================
+ Hits           4502     4508       +6     
+ Misses         1744     1743       -1     
+ Partials        468      466       -2
Impacted Files Coverage Δ Complexity Δ
...va/reactor/netty/resources/ConnectionProvider.java 78.37% <100%> (+4.18%) 18 <8> (+8) ⬆️
...or/netty/http/client/HttpClientMetricsHandler.java 80.23% <0%> (-0.67%) 12% <0%> (ø)
...eactor/netty/http/client/HttpClientOperations.java 64.22% <0%> (+0.29%) 71% <0%> (+1%) ⬆️
.../main/java/reactor/netty/channel/MonoSendMany.java 68.06% <0%> (+0.84%) 5% <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 f202f7a...f0729c5. Read the comment docs.

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.

4 participants