Net core: subscription fetched through the exit, hourly, and on demand

The cluster subscription host is unreachable directly from home: the provider pull had
failed with EOF since day one and the node list went stale (a new node, Aurora, never
showed up). The provider now downloads through «exit», every hour instead of 12, and
netctl refresh (BroV: «Обновить список узлов») pulls it now and reports added/removed
nodes, without a reload.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maksarsanjeev
2026-10-12 20:36:05 +03:00
parent b11d778b04
commit 0586b3c7e9
3 changed files with 44 additions and 3 deletions
+3 -2
View File
@@ -190,8 +190,9 @@ def main():
rules += ["DOMAIN-SUFFIX,ru,DIRECT", "DOMAIN-SUFFIX,su,DIRECT", "DOMAIN-SUFFIX,xn--p1ai,DIRECT",
"MATCH,exit"]
vless = {
# Fetch the list directly: the nodes themselves are dialled directly anyway.
"type": "http", "url": sub, "interval": 43200, "path": "./providers/vless.yaml", "proxy": "DIRECT",
# Fetch through the exit: the subscription host is unreachable directly from home
# (the pull failed with EOF and the node list went stale).
"type": "http", "url": sub, "interval": 3600, "path": "./providers/vless.yaml", "proxy": "exit",
"health-check": {"enable": True, "url": TEST_URL, "interval": 300}}
if hid["vless"]:
# Hidden nodes stay in the subscription, the core just skips them.