Skip to content

Commit 6f42541

Browse files
committed
only use one rendering thread in testing
1 parent 558ec34 commit 6f42541

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/test/mod.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -548,13 +548,8 @@ impl TestFrontend {
548548
}
549549

550550
debug!("loading template data");
551-
let template_data = Arc::new(
552-
TemplateData::new(
553-
&mut context.pool().unwrap().get().unwrap(),
554-
context.config().unwrap().render_threads,
555-
)
556-
.unwrap(),
557-
);
551+
let template_data =
552+
Arc::new(TemplateData::new(&mut context.pool().unwrap().get().unwrap(), 1).unwrap());
558553

559554
debug!("binding local TCP port for axum");
560555
let axum_listener =

0 commit comments

Comments
 (0)