Commit d92f4aa
committed
Set a large timeout when calling lws_service
Newer versions of libwebsockets ignore this value, but older ones
interpret 0 to mean return immediately if there is nothing to do, which
causes the thread to constantly loop consumming 100% of one CPU core.
Bug: b/4698644931 parent d7e13cf commit d92f4aa
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
0 commit comments