From baed636175b9fe44dcbbde2e5a21b79baf9fc57f Mon Sep 17 00:00:00 2001
From: tobias <thinkdifferent055@gmail.com>
Date: Sat, 25 Feb 2017 23:38:04 +0100
Subject: [PATCH] Change Websocket timeout; update gitignore

---
 .gitignore                                                  | 1 +
 src/main/scala/de/tobias/playpad/server/PlayPadServer.scala | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 352c136..07e2d1e 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 242dd63..2536bff 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)
-- 
GitLab