diff --git a/.gitignore b/.gitignore index 352c1367590c2e22f0b4a82958cb5662c7192f6a..07e2d1e0e7e8d00680e8bad288c0ef97774d1b82 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ /target /deploy /.idea/libraries +/.idea/dictionaries workspace.xml diff --git a/src/main/scala/de/tobias/playpad/server/PlayPadServer.scala b/src/main/scala/de/tobias/playpad/server/PlayPadServer.scala index 242dd63c08e2efe99b184cf2980e50cd454225b4..2536bffeaf01416e6dfa81e2a7a580a70032bdeb 100644 --- a/src/main/scala/de/tobias/playpad/server/PlayPadServer.scala +++ b/src/main/scala/de/tobias/playpad/server/PlayPadServer.scala @@ -52,6 +52,7 @@ object PlayPadServer extends App { // Setup Http Server port(8090) + threadPool(8, 2, 60 * 60 * 1000) private val externalPath = Paths.get(settings.download_folder).toAbsolutePath.toString externalStaticFileLocation(externalPath)