Accept shared B2 VPS 0.2.1 for equipment settings and commands

This commit is contained in:
DCCONSTRUCTIONS
2026-09-30 22:43:12 +03:00
parent df36e92500
commit 43b63e8eb9
4 changed files with 12 additions and 1 deletions
+1
View File
@@ -64,6 +64,7 @@ def apply(hosts, identifier, revision):
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
)
or time.time() - host["last_sync_at"] > 30
):
@@ -79,6 +79,7 @@ def enqueue(hosts, identifier, request_id, preset_id):
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
}:
raise EquipmentError("Подключите проверенную версию VPS Host с поддержкой очереди.")
count = db.execute(
+9
View File
@@ -250,6 +250,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
)
)
automatic_access = None
@@ -327,6 +328,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
}:
raise EquipmentError("Для разрешения обеих SIM установите актуальный VPS Host.")
if body["kind"] == "select-sim" and source.get("status", {}).get("version") not in {
@@ -354,6 +356,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
}:
raise EquipmentError("Для смены SIM установите актуальный VPS Host.")
else:
@@ -406,6 +409,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
),
"request-position": (
"0.1.8",
@@ -448,6 +452,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
),
"pulse-output": (
"0.1.9",
@@ -489,6 +494,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
),
"set-output": (
"0.1.10",
@@ -529,6 +535,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
),
}
if source.get("status", {}).get("version") not in versions[command["kind"]]:
@@ -579,6 +586,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
)
for h in (source, target)
):
@@ -667,6 +675,7 @@ def start(
"0.1.45",
"0.1.46",
"0.2.0",
"0.2.1",
}
if durable_delivery:
lifetime = (