Commit 217031a
authored
Define an env for controlling UVloop (#58442)
> Briefly describe what this PR accomplishes and why it's needed.
Our serve ingress keeps running into below error related to `uvloop`
under heavy load
```
File descriptor 97 is used by transport
```
The uvloop team have a
[PR](MagicStack/uvloop#646) to fix it, but seems
like no one is working on it
One of workaround mentioned in the
([PR](MagicStack/uvloop#646 (comment)))
is to just turn off uvloop .
We tried it in our env and didn't see any major performance difference
Hence as part of this PR, we are defining a new env for controlling
UVloop
Signed-off-by: jugalshah291 <[email protected]>1 parent 2486ddd commit 217031a
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | | - | |
17 | | - | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
25 | | - | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments