delicate
delicate copied to clipboard
When I manually trigger a task, it always reports an error
Describe the bug When I manually trigger a task, it always reports an error.As shown in the following figure.
Screenshots
-
When I manually trigger a task, a stack overflow error is reported

-
An error will be reported when a task is triggered manually

Desktop (please complete the following information):
- OS: macOS 12.3.1 (21E258)
- Browser: chrome
Hi! Looks like the same overflow on debian bullseye (rust 1.57- 1.62):

May be the errors happen because of using the deprecated tokio_unblock_process_task_fn ?
warn(deprecated)]` on by default
warning: use of deprecated function `delay_timer::utils::functions::tokio_unblock_process_task_fn`
--> delicate-utils/src/consensus_message/task.rs:210:25
|
210 | move || tokio_unblock_process_task_fn(command.clone(), id as u64)
@BinChengZhao as the creator of delay-timer and delicate can know it as no one else.