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

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

Merged
merged 1 commit into from
Jul 24, 2019

Conversation

jakauppila
Copy link
Contributor

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

Fixes #79

@dsisnero
Copy link

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

Copy link

@MihanixA MihanixA left a comment

Choose a reason for hiding this comment

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

Works!

@dsisnero
Copy link

+1 can we get this merged?

@rebeccab411
Copy link

Please merge this!

@djansen271
Copy link

+1 Please merge

Copy link

@ghost ghost left a comment

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

Can we get this merged?

@rgzn
Copy link

rgzn commented Jan 17, 2019

Has this still not been merged?

@ShaneBurkhart
Copy link

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
Contributor

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

@Guent4
Copy link

Guent4 commented Jul 12, 2019

@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!

@rhockenbury
Copy link

@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 rubygems/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