Add LandSAR cluster data transport

This commit is contained in:
2026-06-26 11:27:05 +08:00
parent 8199762d4b
commit fced6f4a7f
12 changed files with 1258 additions and 20 deletions
+7
View File
@@ -342,6 +342,13 @@ JOB_WORKER_HEARTBEAT_INTERVAL=5
# Main server only. Comma/semicolon-separated IPv4 addresses or CIDR blocks allowed
# to run LandSAR cluster workers against this PostgreSQL server.
LANDSAR_CLUSTER_ALLOWED_WORKER_IPS=192.168.1.6
# Main server and remote workers must share the same non-empty token for
# /api/cluster input download and result upload.
CLUSTER_SHARED_TOKEN=
CLUSTER_TRANSFER_TIMEOUT_SECONDS=3600
CLUSTER_MATERIALIZE_TEMP_DIR=D:\Task_Pool\_cluster_temp
# Remote LandSAR workers should point this to the main backend URL.
CLUSTER_MAIN_SERVER_URL=
# Empty means the worker can claim all job types. Remote LandSAR nodes should set:
# JOB_WORKER_ALLOWED_TYPES=LANDSAR_CLUSTER_ITEM
JOB_WORKER_ALLOWED_TYPES=