Last modified: 2014-06-12 15:58:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68451, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66451 - stop using Net:HTTP:Persistent?
stop using Net:HTTP:Persistent?
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Željko Filipin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-10 20:51 UTC by Chris McMahon
Modified: 2014-06-12 15:58 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McMahon 2014-06-10 20:51:57 UTC
Reading the documentation and a cursory google search suggests that Net:HTTP:Persistent was useful for Ruby 1.8.x, but that the persistent function should be implemented automatically in Net:HTTP for 2.x. 

In the meantime, this gem causes these sorts of errors: 
too many connection resets (due to Timeout::Error - Timeout::Error) after 286 requests on 23958180, last used 60.017253158 seconds ago (Net::HTTP::Persistent::Error)

We might be better off removing the Persistent gem for modern Ruby versions.
Comment 1 Željko Filipin 2014-06-12 15:05:16 UTC
Pairing with Chris on this.
Comment 2 Željko Filipin 2014-06-12 15:58:05 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/139121/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links