Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jan 24, 2025
1 parent 582aded commit df43a02
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
// under the License.

//! [DedicatedExecutor] for running CPU-bound tasks on a separate tokio runtime.
//!
//! Originally from [InfluxDB 3.0]
//!
//! [InfluxDB 3.0]: https://github.com/influxdata/influxdb3_core/tree/6fcbb004232738d55655f32f4ad2385523d10696/executor
use crate::SendableRecordBatchStream;
use async_trait::async_trait;
use datafusion::physical_plan::stream::RecordBatchStreamAdapter;
Expand Down Expand Up @@ -128,6 +125,11 @@ impl From<Builder> for DedicatedExecutorBuilder {
/// drop a runtime in a context where blocking is not allowed it means This
/// happens when a runtime is dropped from within an asynchronous
/// context.', .../tokio-1.4.0/src/runtime/blocking/shutdown.rs:51:21
///
/// # Notes
/// This code is derived from code originally written for [InfluxDB 3.0]
///
/// [InfluxDB 3.0]: https://github.com/influxdata/influxdb3_core/tree/6fcbb004232738d55655f32f4ad2385523d10696/executor
#[derive(Clone, Debug)]
pub struct DedicatedExecutor {
/// State for managing Tokio Runtime Handle for CPU tasks
Expand Down

0 comments on commit df43a02

Please sign in to comment.