Skip to content

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

License

Notifications You must be signed in to change notification settings

alexxed/activerecord_postgresql_retry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages