mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-12 17:31:22 -07:00
We would get failures on Travis, I would think because of small TLS timeout. Increase (or set) the TLS timeout to 2 seconds in most configuration files. Update tests that relied on the original value.
21 lines
319 B
Plaintext
21 lines
319 B
Plaintext
|
|
# Simple TLS config file
|
|
|
|
port: 4443
|
|
net: localhost
|
|
|
|
tls {
|
|
# Server cert
|
|
cert_file: "./configs/certs/server-cert.pem"
|
|
# Server private key
|
|
key_file: "./configs/certs/server-key.pem"
|
|
# Specified time for handshake to complete
|
|
timeout: 2
|
|
}
|
|
|
|
authorization {
|
|
user: derek
|
|
password: boo
|
|
timeout: 1
|
|
}
|