Commit f2b3882
authored
Base search queue length on pool size (elastic#116578)
Base the queue length on the pool size. The number of tasks enqueued
on search is proportional to its size in many cases so linearly
increaasing the length of the queue makes it so a larger pool does not
lead to an increasing chance of rejection under constant search load.1 parent 2302cdb commit f2b3882
File tree
1 file changed
+1
-1
lines changed- server/src/main/java/org/elasticsearch/threadpool
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments