summaryrefslogtreecommitdiff
path: root/server/resources
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-02-25 22:08:51 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-02-25 22:11:22 +0000
commit26f9cb8e66e836607851aab623223aef478f3b27 (patch)
tree3e2c5449c8a7a80b912641da1b144d5169aab912 /server/resources
downloadspacebeans-26f9cb8e66e836607851aab623223aef478f3b27.tar.gz
spacebeans-26f9cb8e66e836607851aab623223aef478f3b27.zip
Initial public dump
Diffstat (limited to 'server/resources')
-rw-r--r--server/resources/application.conf8
-rw-r--r--server/resources/logback.xml11
2 files changed, 19 insertions, 0 deletions
diff --git a/server/resources/application.conf b/server/resources/application.conf
new file mode 100644
index 0000000..d509a7d
--- /dev/null
+++ b/server/resources/application.conf
@@ -0,0 +1,8 @@
+sb-blocking-dispatcher {
+ type = Dispatcher
+ executor = "thread-pool-executor"
+ thread-pool-executor {
+ fixed-pool-size = 16
+ }
+ throughput = 1
+}
diff --git a/server/resources/logback.xml b/server/resources/logback.xml
new file mode 100644
index 0000000..fbff415
--- /dev/null
+++ b/server/resources/logback.xml
@@ -0,0 +1,11 @@
+<configuration>
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%date [%level] %logger{15} - %message%n%xException{10}</pattern>
+ </encoder>
+ </appender>
+ <logger name="net.usebox.gemini.server" level="INFO" />
+ <root level="WARN">
+ <appender-ref ref="STDOUT" />
+ </root>
+</configuration>