* refactor: make outbound SSRF-safe dial timeout configurable (default 5s)
Previously SSRFSafeDialContext hardcoded a 30s dial timeout for every
outbound (SSRF-validated) endpoint (VLM/LLM/embedding/ASR/connectors).
A black-holed or unreachable endpoint therefore burned ~30s per attempt
before failing, which (a) delayed the circuit breaker trip and (b) made
the UI show a misleading "thinking" state instead of surfacing the
bad-URL error quickly.
- Move the dial timeout to WEKNORA_OUTBOUND_DIAL_TIMEOUT, default 5s.
- Apply it in config.LoadConfig via utils.SetOutboundDialTimeout; the
default is also set in an init() so it holds even if LoadConfig is
skipped. Concurrent reads are safe (atomic nanoseconds).
- KeepAlive stays 30s; the sandbox/cloud GuardedDialContext (10s) and
Ollama dialer (10s) are intentionally left untouched.
* test(utils): serialize outbound dial timeout tests
---------
Co-authored-by: tayadwx <tayadwx@users.noreply.github.com>
Co-authored-by: wizardchen <wizardchen@tencent.com>