Worker Heart beat

Workflow doesn’t have StartToCloseTimeout. It has WorkflowRunTimeout and WorkflowExecutionTimeout.

StartToCloseTimeout applies to activities. I assume that you schedule an activity with 24-hour timeout and kill the activity worker. Temporal doesn’t track worker health. It relies only on timeouts to retry failed activities. You have to lower the activity timeout if its single invocation is not expected to run 24 hours. If activity is indeed long running it should heartbeat which will allow detecting worker failure after a much shorter heartbeat timeout.