File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,13 @@ use crate::utils::time::TimeRange;
61
61
pub static QUERY_SESSION : Lazy < SessionContext > =
62
62
Lazy :: new ( || Query :: create_session_context ( PARSEABLE . storage ( ) ) ) ;
63
63
64
- /// Dedicated multi-threaded runtime to run
64
+ /// Dedicated multi-threaded runtime to run all queries on
65
65
pub static QUERY_RUNTIME : Lazy < Runtime > =
66
66
Lazy :: new ( || Runtime :: new ( ) . expect ( "Runtime should be constructible" ) ) ;
67
67
68
+
69
+ /// This function executes a query on the dedicated runtime, ensuring that the query is not isolated to a single CPU
70
+ /// at a time and has access to the entire thread, enabling better concurrent processing, and thus quicker results.
68
71
pub async fn execute (
69
72
query : Query ,
70
73
stream_name : & str ,
You can’t perform that action at this time.
0 commit comments