Increase the number of tokio channels for the query engine from 8 to 1000. (#1095)

This commit is contained in:
James Fletcher authored and GitHub committed 2023-06-19 09:26:02 -05:00
1 parent d596967b40
commit 6e5fbcff63
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ pub(crate) struct QueryEngine {
impl Default for QueryEngine { impl Default for QueryEngine {
fn default() -> Self { fn default() -> Self {
let (sender, _) = tokio::sync::broadcast::channel(8); let (sender, _) = tokio::sync::broadcast::channel(1000);
Self { Self {
sender: Rc::new(sender), sender: Rc::new(sender),
active_requests: SharedSlab::default(), active_requests: SharedSlab::default(),