Commit fafc6ec
Reduce m365 worker thread count from 7 to 2 (#6103)
This commit reduces the m365 worker thread count from 7 to 2.
This is because the worker thread is per host and we need to ensure
there are not too many threads in total to avoid api throttling.
The suggestion is to estimate based on 2 ~ 4 OCU. Original 7 is the
estimated based on total threads. Changing to 2 would fit for 4 OCU.
Signed-off-by: Wenjie Yao <wjyao@amazon.com>
Co-authored-by: Wenjie Yao <wjyao@amazon.com>1 parent 74824b3 commit fafc6ec
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- data-prepper-plugins/saas-source-plugins/microsoft-office365-source/src
- main/java/org/opensearch/dataprepper/plugins/source/microsoft_office365
- test/java/org/opensearch/dataprepper/plugins/source/microsoft_office365
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
0 commit comments