I am using await to make sleep function configurable, so basically my workflow should sleep for a certain time but I must be able to change the sleep duration when the workflow is in sleep
frequency = 5;
lastExecutedAt = LocalDateTime.now();
Workflow.await(() -> (lastExecutedAt.plusMinutes(frequency.getMinutes()).isBefore(LocalDateTime.now()))));
but after 5 min the workflow is not coming out of await, slack trace after 5 min is
workflow-method: (BLOCKED on Feature.get)