This website requires JavaScript.
Explore
Help
Sign In
apps
/
redis-go
Watch
0
Star
0
Fork
0
You've already forked redis-go
mirror of
https://github.com/HDT3213/godis.git
synced
2025-09-27 05:06:09 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
f4a2c92fc1827fc7ad667a20121cf6178097fddb
redis-go
/
tcp
History
GouJie
b7b8ece442
bugfix: Resolved a concurrency issue with ClientCounter. Previously, directly decrementing ClientCounter in multiple goroutines (ClientCounter--) could lead to data races and inconsistencies. Now, by using atomic.AddInt32(&ClientCounter, -1), we ensure safe updates to the counter, maintaining its accuracy and stability even in high concurrency scenarios.
2024-02-14 20:55:33 +08:00
..
echo_test.go
bugfix: Resolved a concurrency issue with ClientCounter. Previously, directly decrementing ClientCounter in multiple goroutines (ClientCounter--) could lead to data races and inconsistencies. Now, by using atomic.AddInt32(&ClientCounter, -1), we ensure safe updates to the counter, maintaining its accuracy and stability even in high concurrency scenarios.
2024-02-14 20:55:33 +08:00
echo.go
tiny bug fix
2022-04-03 19:22:18 +08:00
server.go
bugfix: Resolved a concurrency issue with ClientCounter. Previously, directly decrementing ClientCounter in multiple goroutines (ClientCounter--) could lead to data races and inconsistencies. Now, by using atomic.AddInt32(&ClientCounter, -1), we ensure safe updates to the counter, maintaining its accuracy and stability even in high concurrency scenarios.
2024-02-14 20:55:33 +08:00