carllerche / tower-web

A fast, boilerplate free, web framework for Rust
MIT License
980 stars 51 forks source link

Using synchronous reqwest from a synchronous handler causes a panic #214

Open Diggsey opened 5 years ago

Diggsey commented 5 years ago

... with the message "attempted to run an executor while another executor is already running"

It seems like tower-web should run synchronous handlers without a running executor, possibly using threadpool::blocking and executor::exit?

manifest commented 5 years ago

We've hit the same problem.

attempted to run an executor while another executor is already running