| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-05-05 | 820 Bytes | |
| v0.3.2_ Skip cloudflared polling on https deployments source code.tar.gz | 2026-05-05 | 2.0 MB | |
| v0.3.2_ Skip cloudflared polling on https deployments source code.zip | 2026-05-05 | 2.2 MB | |
| Totals: 3 Items | 4.2 MB | 1 | |
What changed
fix(channels): skip cloudflared discovery when APP_BASE_URL is https(#1187)
Why
TelegramChannel.start() and LinqChannel.start() polled a localhost cloudflared sidecar 10 times with 2 second delays at every startup, regardless of environment. The sidecar only exists for the local-dev cloudflared tunnel --url http://localhost:... quick-tunnel workflow. In any deployment served over a real public domain, the sidecar will never appear and webhook registration happens via register_paas_webhook(APP_BASE_URL) instead.
This release gates the discovery loop on settings.app_base_url.lower().startswith("https://") so prod deployments skip roughly 20 seconds of wasted polling and noisy debug logs at every restart. Local-dev workflows on any port keep working unchanged.
Fixes [#1186]