Skip to content

Sets a default pool size for Windows as Process::RLIMIT_NOFILE is not supported - #90

Merged
drbrain merged 1 commit into
drbrain:masterfrom
jakauppila:fix_79_windows
Jul 24, 2019
Merged

drbrain merged 1 commit into
drbrain:masterfrom
jakauppila:fix_79_windows

Conversation

@jakauppila

Copy link
Copy Markdown
Contributor

Sets a default pool size for Windows as Process::RLIMIT_NOFILE is not supported on the OS.

Fixes #79

@dsisnero

Copy link
Copy Markdown

+1 can we get this merged. I am on windows and I am getting this bug

@MihanixA MihanixA left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Works!

@dsisnero

Copy link
Copy Markdown

+1 can we get this merged?

@rebeccab411

Copy link
Copy Markdown

Please merge this!

@djansen271

Copy link
Copy Markdown

+1 Please merge

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Worked on windows 10

@dsisnero

Copy link
Copy Markdown

Can we get this merged?

@rgzn

rgzn commented Jan 17, 2019

Copy link
Copy Markdown

Has this still not been merged?

@ShaneBurkhart

Copy link
Copy Markdown

It's not clear if this has been merged. Can you merge this if it isn't please? It would be a huge help!

@deivid-rodriguez

Copy link
Copy Markdown
Contributor

This is straightforward and allows this gem to be used under Windows. Can we merge it?

@Guent4

Guent4 commented Jul 12, 2019

Copy link
Copy Markdown

@drbrain, I saw that you have merged couple PRs in recently and I'm not sure who else has merge privileges... Was wondering if this can be merged in; this currently breaks functionality on Windows. Thanks!

@drbrain
drbrain merged commit f49e142 into drbrain:master Jul 24, 2019
@rhockenbury

Copy link
Copy Markdown

@drbrain Along with this merge, are you going to cut a new release soon?

ghost pushed a commit to rubygems/bundler that referenced this pull request Jul 25, 2019
7200: Bump net-http-persistent to 3.1.0 r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that I wanted to propose some changes to this vendored gem, but I found out that we are using an old version of it.

### What was your diagnosis of the problem?

My diagnosis was that we should upgrade.

### What is your fix for the problem, implemented in this PR?

My fix is to upgrade the dependency. Since it's a major update, it required some changes. Also, I had to:

* Add a new artifice task to vendorize new `connection_pool` dependency. This is the main downside of this PR, that the new version adds a dependency on this gem. But this gem is very stable, and rarely changes and releases new versions, as can be seen by its [releases](https://github.com/mperham/connection_pool/releases). 

* Cherry-pick a Windows fix not yet merged into master branch of `net-http-persistent`: drbrain/net-http-persistent#90.

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
ghost pushed a commit to rubygems/bundler that referenced this pull request Jul 25, 2019
7200: Bump net-http-persistent to 3.1.0 r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that I wanted to propose some changes to this vendored gem, but I found out that we are using an old version of it.

### What was your diagnosis of the problem?

My diagnosis was that we should upgrade.

### What is your fix for the problem, implemented in this PR?

My fix is to upgrade the dependency. Since it's a major update, it required some changes. Also, I had to:

* Add a new artifice task to vendorize new `connection_pool` dependency. This is the main downside of this PR, that the new version adds a dependency on this gem. But this gem is very stable, and rarely changes and releases new versions, as can be seen by its [releases](https://github.com/mperham/connection_pool/releases). 

* Cherry-pick a Windows fix not yet merged into master branch of `net-http-persistent`: drbrain/net-http-persistent#90.

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
ghost pushed a commit to ruby/rubygems that referenced this pull request Mar 11, 2020
7200: Bump net-http-persistent to 3.1.0 r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that I wanted to propose some changes to this vendored gem, but I found out that we are using an old version of it.

### What was your diagnosis of the problem?

My diagnosis was that we should upgrade.

### What is your fix for the problem, implemented in this PR?

My fix is to upgrade the dependency. Since it's a major update, it required some changes. Also, I had to:

* Add a new artifice task to vendorize new `connection_pool` dependency. This is the main downside of this PR, that the new version adds a dependency on this gem. But this gem is very stable, and rarely changes and releases new versions, as can be seen by its [releases](https://github.com/mperham/connection_pool/releases). 

* Cherry-pick a Windows fix not yet merged into master branch of `net-http-persistent`: drbrain/net-http-persistent#90.

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
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.

Process::RLIMIT_NOFILE is not defined in Windows version