proxy/meta: only create proxies for providers that are enabled
This commit is contained in:
parent
18d6f294f4
commit
3f07f0e08f
5 changed files with 13 additions and 1 deletions
|
@ -18,7 +18,7 @@ PROXY_PROVIDERS = {p.provider: p for p in [ # In order of preference
|
|||
ProxyCloudfrontAutomation,
|
||||
ProxyFastlyAutomation,
|
||||
ProxyAzureCdnAutomation
|
||||
]}
|
||||
] if p.enabled}
|
||||
|
||||
|
||||
def create_proxy(pool: Pool, origin: Origin) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue