Commit c224ee1
authored
[backport]Add log when conn_limit_tcp is reached for easy diagnose (#7098)
From Semaphore document:
try_acquire s immediately returns false if the value of semaphore s is
zero. Otherwise, the value of s is
atomically decremented and try_acquire s returns true.
(cherry picked from commit 658778f)
backport of PR #70921 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
0 commit comments