Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Weakky committed Aug 8, 2022
1 parent c1cb49c commit 8dd177a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion query-engine/query-engine/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use datamodel::common::preview_features::PreviewFeature;
use hyper::service::{make_service_fn, service_fn};
use hyper::{header::CONTENT_TYPE, Body, HeaderMap, Method, Request, Response, Server, StatusCode};
use opentelemetry::{global, propagation::Extractor, Context};
use query_core::{schema::QuerySchemaRenderer, set_parent_context_from_json_str, TxId};
use query_core::{schema::QuerySchemaRenderer, TxId};
use query_core::{MetricFormat, MetricRegistry};
use request_handlers::{dmmf, GraphQLSchemaRenderer, GraphQlHandler, TxInput};
use serde_json::json;
Expand Down Expand Up @@ -64,6 +64,8 @@ pub async fn setup(opts: &PrismaOpt, metrics: MetricRegistry) -> PrismaResult<St
let config = opts.configuration(false)?.subject;
config.validate_that_one_datasource_is_provided()?;

let span = tracing::info_span!("prisma:engine:connect");

let enable_itx = config
.preview_features()
.contains(PreviewFeature::InteractiveTransactions);
Expand Down

0 comments on commit 8dd177a

Please sign in to comment.