Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages