You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks! I will try to fix this soon. In the meantime, you can apply the "hack" by explicitly specifying Influxer.config.cache = {...} after loading the configuration. 🤔
just saw that you already started to fix the issue in a different branch. The solution might actually be better than mine. I guess that the pull request is not necessary anymore
What did you do?
Tried to configure cache with expires_in value
What did you expect to happen?
Configuration with setting
should be loaded from yml file and assigned to the 'cache' key in config which defaults to false.
What actually happened?
Since the cache value is initializes as 'false' value, before loading and merging the yml file, anyway tries to assing hash values to 'false' object.
Possible solution could be to initialize the cache attribute of config to {enabled: false} or to fix anyway config to cope with those issues.
Additional context
backtrace:
Environment
Ruby Version:
2.7.1
Influxer Version:
The text was updated successfully, but these errors were encountered: