arblant
firefox-vpn-client / core / internal / proxy / options.go
options.go13 lines · 341 B
1 2 3 4 5 6 7 8 9 10 11 12 13
package proxy

import "time"

const (
	defaultUpstreamConnections = 1

	// APIRequestTimeout bounds a single control plane API call (FxA,
	// Guardian, Remote Settings); the shared client adds its own safety
	// timeout on top, and FxA calls extend it while solving the Fastly
	// anti-bot challenge.
	APIRequestTimeout = 15 * time.Second
)