No commit activity in last 3 years
No release in over 3 years
This gem provides a patch that once included will retry the PostgreSQL operation in case the server has gone away
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

active_record_postgresql_retry

This gem provides a patch that once included will retry the PostgreSQL operation in case the server has gone away

  1. add it to your Gemfile
  2. require 'activerecord_postgresql_retry' (after requiring activerecord)
  3. declare the following environment variables
  • PG_SLEEP_RETRY, default 0.33 seconds
  • PG_QUERY_RETRY, default 0