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
the rabbitMQ url should have the possibility of being configured via the environment similar to how DATABASE_URL and CHAIN_DATA_DB are. The environment variable could be AMQP_URL
The text was updated successfully, but these errors were encountered:
Hi @insipx, I have introduced the AMQP_URL variable into my fork.
I've created a function env_var_task_url() that uses AMQP_URL value, or fallback to default_task_url(). Is this enough, or should I create some ControlConfig implementation?
Currently there's no AMQP_URL validation, which level of validation is expected here?
but the environment variable should take precedence over that option
2.) if the URL cannot connect the amqp library (lapin) would throw an error; otherwise i'm unsure of what kind of validation would be appropriate here. I would like to say that just accepting any URL would be fine
the rabbitMQ url should have the possibility of being configured via the environment similar to how
DATABASE_URL
andCHAIN_DATA_DB
are. The environment variable could beAMQP_URL
The text was updated successfully, but these errors were encountered: