Commit 2e161bd
authored
Use selectors.DefaultSelector over select.select (neo4j#605)
select.select, while being available on many platforms has the drawback of not
being very modern. On some Linux systems, for instance, it is limited to 1024
open file descriptors. Python offers a nice wrapper to choose the best way for
each OS to poll sockets named selectors.DefaultSelector.
Backport of neo4j#6041 parent 6cfd0c6 commit 2e161bd
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
1262 | 1262 | | |
1263 | 1263 | | |
1264 | 1264 | | |
1265 | | - | |
1266 | | - | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1267 | 1268 | | |
1268 | 1269 | | |
1269 | 1270 | | |
| |||
0 commit comments