Last modified: 2014-06-12 15:58:05 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.
Pairing with Chris on this.
Fixed in https://gerrit.wikimedia.org/r/#/c/139121/