statuses update

This commit is contained in:
sanek5g
2026-06-24 18:58:35 +03:00
parent fdddacf534
commit 0a9bfd0799
39 changed files with 2099 additions and 12 deletions

View File

@@ -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"),