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;
6161pub static QUERY_SESSION : Lazy < SessionContext > =
6262 Lazy :: new ( || Query :: create_session_context ( PARSEABLE . storage ( ) ) ) ;
6363
64- /// Dedicated multi-threaded runtime to run
64+ /// Dedicated multi-threaded runtime to run all queries on
6565pub static QUERY_RUNTIME : Lazy < Runtime > =
6666 Lazy :: new ( || Runtime :: new ( ) . expect ( "Runtime should be constructible" ) ) ;
6767
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.
6871pub async fn execute (
6972 query : Query ,
7073 stream_name : & str ,
You can’t perform that action at this time.
0 commit comments