Page MenuHomePhabricator

stop using Net:HTTP:Persistent?
Closed, ResolvedPublic

Description

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.


Version: wmf-deployment
Severity: normal

Details

Reference
bz66451