Skip to content

Commit

Permalink
Set influxdb retry default to false
Browse files Browse the repository at this point in the history
otherwise it can end up in an infinite loop.
  • Loading branch information
ChrisBr committed Dec 11, 2018
1 parent 343f919 commit 0c24595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/config/initializers/influxdb_rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
config.influxdb_password = CONFIG['influxdb_password']
config.influxdb_hosts = CONFIG['influxdb_hosts']
config.influxdb_port = CONFIG['influxdb_port']
config.retry = CONFIG['influxdb_retry']
config.retry = CONFIG['influxdb_retry'] || false # default is infinite otherwise
config.use_ssl = CONFIG['influxdb_ssl']
config.time_precision = CONFIG['influxdb_time_precision']
config.series_name_for_sql = 'rails.sql'
Expand Down

0 comments on commit 0c24595

Please sign in to comment.