refactor: use AMQConfiguration for Consul settings in ID generators
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat>
This commit is contained in:
@@ -104,6 +104,10 @@ from typing import Optional
|
||||
|
||||
import consul
|
||||
|
||||
from amqp.config.amq_configuration import AMQConfiguration
|
||||
|
||||
from amqp.config.amq_configuration import AMQConfiguration
|
||||
|
||||
# Configuration from environment variables with defaults
|
||||
CONSUL_HOST = os.environ.get('CONSUL_HOST', 'localhost')
|
||||
CONSUL_PORT = int(os.environ.get('CONSUL_PORT', 8500))
|
||||
|
||||
Reference in New Issue
Block a user