I noticed in Play! there are couple of settings I can put in application.conf to specify the connection timeout. Since Play! directly leverages Scala slick, I thought there should be similar settings in Scala slick as well, however I cannot find any reference for it so far. I would be surprised if it is unavailable yet.
相关问题
- Unusual use of the new keyword
- Get Runtime Type picked by implicit evidence
- What's the point of nonfinal singleton objects
- PlayFramework: how to transform each element of a
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- Gatling拓展插件开发,check(bodyString.saveAs("key"))怎么实现
- RDF libraries for Scala [closed]
- Why is my Dispatching on Actors scaled down in Akk
- How do you run cucumber with Scala 2.11 and sbt 0.
- How exactly do Firebase Analytics handle session d
- GRPC: make high-throughput client in Java/Scala
- Setting up multiple test folders in a SBT project
- Testing request with CSRF Token in Play framework
IIRC you configure the connection pool with the Play settings. If you use Slick with a connection pool (
Database.fromDataSource
) you can configure the timeout in the connection pool. It's nothing Slick specific.