Commit graph

3 commits

Author SHA1 Message Date
wit liu
b1c239de97
common, core: fix goimports warning (#1972) 2026-01-27 08:53:31 +05:30
Daniel Liu
283d208fa3
common, core: use min to simplify code (#1939) 2026-01-16 15:53:39 +05:30
wgr523
537dc5e6fb
Exp timeout (#764)
* feat: write duration calculation in countdown as
interface. add more inputs as function argument

* feat: ExpTimeoutDuration

* fix: three dots usage

* feat: refine exp duration

* feat: add exp timeout config and use it in countdown

* feat: remove const countdown

* feat: remove use of interface in countdown, use error

* fix: countdown reset timer problem

* fix: add default ExpTimeoutConfig for config
2025-01-19 23:04:03 +08:00