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

@@ -17,6 +17,7 @@ type Config struct {
RabbitURL string
Exchange string
RoutingKey string
StatusQueue string
}
func Load() Config {
@@ -31,6 +32,7 @@ func Load() Config {
RabbitURL: getEnv("RABBITMQ_URL", "amqp://guest:guest@localhost:5672/"),
Exchange: getEnv("RABBITMQ_EXCHANGE", "audio_pipeline"),
RoutingKey: getEnv("RABBITMQ_ROUTING_KEY", "audio.new"),
StatusQueue: getEnv("STATUS_QUEUE", "pipeline.status"),
}
}