Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use coursier thread pool to run coursier-related task (com-lihaoyi#3614)
Using the default global `ExecutionContext`, also used by the BSP server, can lead to deadlocks, as coursier doesn't mark blocking things with `blocking`. (It deadlocks locally for me, during Mill import via BSP in IntelliJ, with 4 threads being spawned and awaiting in the default `ExecutionContext`.)
- Loading branch information