Add connection name

This commit is contained in:
2025-03-09 23:49:59 -04:00
parent 55f0a026cb
commit e9c425b258

View File

@@ -65,6 +65,8 @@ func main() {
opts = append(opts, nats.UserCredentials(natsCredsFile)) opts = append(opts, nats.UserCredentials(natsCredsFile))
} }
opts = append(opts, nats.Name("Bluesky Proxy"))
nc, err := nats.Connect(natsURL, opts...) nc, err := nats.Connect(natsURL, opts...)
if err != nil { if err != nil {
log.Fatal("Error connecting to NATS:", err) log.Fatal("Error connecting to NATS:", err)