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
I have setup the gem with the recommended initialization approach for rails apps but if there is an issue during startup It puts puma into a loop until it is able to connect to the unleash server.
This often has a result of requiring me to restart my computer as puma seems to create processes until this is successful.
Would it make sense for the initial connection to result in a warning instead?
Also is using the on_worker_boot required if using puma? The reason I ask is that it means that Rails.configuration.unleash is not present in the rails console. Having this available is handy for debugging.
The text was updated successfully, but these errors were encountered:
But note, puma creates multiple workers by default. Unleash-client needs to have one client instantiated per worker, and each client (by default) has two threads per client.
I have tried to reproduce this problem again but have been unable to do so. I suspect that either upgrading to the latest version of puma or this gem has resolved the issue.
I have setup the gem with the recommended initialization approach for rails apps but if there is an issue during startup It puts puma into a loop until it is able to connect to the unleash server.
This often has a result of requiring me to restart my computer as puma seems to create processes until this is successful.
Would it make sense for the initial connection to result in a warning instead?
Also is using the on_worker_boot required if using puma? The reason I ask is that it means that
Rails.configuration.unleash
is not present in the rails console. Having this available is handy for debugging.The text was updated successfully, but these errors were encountered: