statuses update
This commit is contained in:
@@ -15,6 +15,7 @@ type Config struct {
|
||||
InputExchange string
|
||||
InputRoutingKey string
|
||||
Prefetch int
|
||||
StatusQueue string
|
||||
|
||||
NexaraBaseURL string
|
||||
NexaraAPIKey string
|
||||
@@ -38,6 +39,7 @@ func Load() Config {
|
||||
InputExchange: getEnv("RABBITMQ_EXCHANGE", "audio_pipeline"),
|
||||
InputRoutingKey: getEnv("RABBITMQ_ROUTING_KEY", "audio.new"),
|
||||
Prefetch: getInt("PREFETCH", 1),
|
||||
StatusQueue: getEnv("STATUS_QUEUE", "pipeline.status"),
|
||||
|
||||
NexaraBaseURL: getEnv("NEXARA_BASE_URL", "https://api.nexara.ru"),
|
||||
NexaraAPIKey: os.Getenv("NEXARA_API_KEY"),
|
||||
|
||||
Reference in New Issue
Block a user