mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 09:58:37 +09:00
Replace time.After with a stoppable time.Timer in BatchChecker.CheckPath. Avoid accumulating up to 6 pending 5-second timers per file on the normal path. Preserve the existing per-attribute timeout behavior. --------- Signed-off-by: Calvin Tjoaquinn <calvintjoa23@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>