When starting a TaskHubGrpcWorker, if the 'hello' message doesn't return the worker will appear to have started but actually not be doing anything.
The line in question:
Is there a functional reason the 'hello' message can't have a timeout (either internally or via Promise.race)?
From a usage perspective, I expect that awaiting start() will block until the worker has actually started.
When starting a
TaskHubGrpcWorker, if the 'hello' message doesn't return the worker will appear to have started but actually not be doing anything.The line in question:
durabletask-js/src/worker/task-hub-grpc-worker.ts
Line 121 in 0203252
Is there a functional reason the 'hello' message can't have a timeout (either internally or via
Promise.race)?From a usage perspective, I expect that awaiting
start()will block until the worker has actually started.