Skip to content

Commit

Permalink
feat(pact-consumer): Give each mock server 2 worker threads
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jul 29, 2024
1 parent 7e039cf commit d46af23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/pact_consumer/src/mock_server/http_mock_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl ValidatingHttpMockServer {
// Start a tokio runtime to drive the mock server
let runtime = Arc::new(tokio::runtime::Builder::new_multi_thread()
.enable_all()
.worker_threads(1)
.worker_threads(2)
.build()
.expect("Could not start a new Tokio runtime"));

Expand Down

0 comments on commit d46af23

Please sign in to comment.