MCPcopy Index your code
hub / github.com/masterking32/MasterHttpRelayVPN / _update

Method _update

src/proxy/proxy_server.py:323–327  ·  view source on GitHub ↗
(domains: list[str])

Source from the content-addressed store, hash-verified

321 from core.adblock import refresh_all
322
323 def _update(domains: list[str]) -> None:
324 self._adblock_hosts = load_host_rules(domains)
325 log.info(
326 "Adblock: rules updated — %d domains active", len(domains)
327 )
328
329 await refresh_all(self._adblock_urls, callback=_update)
330 except Exception as exc:

Callers

nothing calls this directly

Calls 1

load_host_rulesFunction · 0.85

Tested by

no test coverage detected