1
0
mirror of https://github.com/minio/minio.git synced 2025-04-13 15:59:34 -04:00
Klaus Post bdb3db6dad
Add lock overload protection ()
Reject new lock requests immediately when 1000 goroutines are queued 
for the local lock mutex.

We do not reject unlocking, refreshing, or maintenance; they add to the count.

The limit is set to allow for bursty behavior but prevent requests from 
overloading the server completely.
2025-01-31 11:54:34 -08:00
..