From 52b966be53a643040cd1b5c264cd464a9e5e728a Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Tue, 12 Dec 2023 14:36:34 +0100 Subject: [PATCH] fix udp --- src/blobber/blobber_launcher.star | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/blobber/blobber_launcher.star b/src/blobber/blobber_launcher.star index 4b8ee5d2d..a1329fbff 100644 --- a/src/blobber/blobber_launcher.star +++ b/src/blobber/blobber_launcher.star @@ -5,7 +5,8 @@ cl_client_context = import_module("../cl/cl_client_context.star") blobber_context = import_module("../blobber/blobber_context.star") BLOBBER_BEACON_PORT_NUM = 9000 -BLOBBER_BEACON_PORT_ID = "discovery" +BLOBBER_BEACON_PORT_TCP_ID = "discovery" +BLOBBER_BEACON_PORT_UDP_ID = "discovery-udp" BLOBBER_VALIDATOR_PROXY_PORT_NUM = 5000 BLOBBER_VALIDATOR_PROXY_PORT_ID = "http" @@ -19,9 +20,12 @@ BLOBBER_USED_PORTS = { BLOBBER_VALIDATOR_PROXY_PORT_ID: shared_utils.new_port_spec( BLOBBER_VALIDATOR_PROXY_PORT_NUM, shared_utils.TCP_PROTOCOL, wait="5s" ), - BLOBBER_BEACON_PORT_ID: shared_utils.new_port_spec( + BLOBBER_BEACON_PORT_TCP_ID: shared_utils.new_port_spec( BLOBBER_BEACON_PORT_NUM, shared_utils.TCP_PROTOCOL, wait=None ), + BLOBBER_BEACON_PORT_UDP_ID: shared_utils.new_port_spec( + BLOBBER_BEACON_PORT_NUM, shared_utils.UDP_PROTOCOL, wait=None + ), } # The min/max CPU/memory that blobbers can use