lightec-xyz / lightec-xyz/daemon
TimerTask cannot recover automatically from panic/exception
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Recently we encountered a panic and the timer task stopped after the panic, therefore proof for a redeem transaction had been delayed for a few hours. We need those tasks recover from such exceptions automatically. Maybe a good start to look into function DoTimerTask
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Go function DoTimerTask and trace how a panic or exception currently exits the timer task. Reproduce or inspect the failure path, then verify that the task continues or restarts after such a failure and that scheduled redeem proof work is no longer left delayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100