This commit is contained in:
akrike
2025-06-08 22:17:24 +08:00
parent b39302822f
commit bc9e33ab4d
3 changed files with 7 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ func InitWaitCond() {
func newWaitCond() *waitCond {
wc := &waitCond{
cond: *sync.NewCond(&sync.Mutex{}),
ts: time.Now().UnixMicro(),
ts: time.Now().UnixNano(),
timeMap: sync.Map{},
trigger: make(chan struct{}),
}