Skip to content
  • korbin's avatar
    27955b4b
    fix issue with reaping_frequency type · 27955b4b
    korbin authored
    When using DATABASE_URL to configure ActiveRecord, :reaping_frequency
    does not get converted from a string to a numeric value. This value is
    eventually passed to 'sleep' and must be numeric to avoid exceptions.
    
    This commit converts :reaping_frequency to a float when present.
    27955b4b
    fix issue with reaping_frequency type
    korbin authored
    When using DATABASE_URL to configure ActiveRecord, :reaping_frequency
    does not get converted from a string to a numeric value. This value is
    eventually passed to 'sleep' and must be numeric to avoid exceptions.
    
    This commit converts :reaping_frequency to a float when present.
Loading