chore: better atomic using

This commit is contained in:
wwqgtxx
2023-10-10 16:34:33 +08:00
parent ae557c30d3
commit 7ed25ddc74
10 changed files with 48 additions and 57 deletions

View File

@ -28,7 +28,7 @@ type GroupBase struct {
failedTestMux sync.Mutex
failedTimes int
failedTime time.Time
failedTesting *atomic.Bool
failedTesting atomic.Bool
proxies [][]C.Proxy
versions []atomic.Uint32
}