-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hutch.connect erases Hutch::Config #256
Comments
Investigating, it appears to be related to this commit: logger called from the broker resets the connection settings |
Good find, thanks for looking into it. |
@niuage Are you able to try to try to reproduce with current master? Here's a commits list between that tag (which is latest release) and HEAD: 23ad748...master The last line of config.rb is "please initialize with the defaults unless something is set". Is that line |
@niuage Please re-test with 0.23.1. |
@niuage Have you had the time to look into this? |
I haven't yet, sorry. I'll try today possibly. |
Hey,
We updated Hutch from 0.21 to 0.22.1, and we now have the following issue:
Notice how the
Hutch::Config
value is correct the first time, then after calling.connect
, it's different, and is back to the default value?Looking at the code...
... it should be using the
Hutch::Config
class as default, and I checked the value of themq_host
attribute just before.Interestingly, after all this mess, if I reset the values in the config class, with
Hutch::Config.set...
, and then call Hutch.connect, it works. Could this be a thread/fork issue? We're on heroku, just fyi.Any idea about what's going on? Thanks.
The text was updated successfully, but these errors were encountered: