Repos / pytaku / 29a76037f2
commit 29a76037f266af32e2cddbd824386ec4015b26b0
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Sun Aug 30 13:38:37 2020 +0700

    decrease default number of gunicorn workers
    
    Should be fine now, what with the filesystem cache and CDN.
    I'd probably still need some sort of preload mechanism though.

diff --git a/contrib/systemd/pytaku.service b/contrib/systemd/pytaku.service
index d369e16..f70e1d3 100644
--- a/contrib/systemd/pytaku.service
+++ b/contrib/systemd/pytaku.service
@@ -10,7 +10,7 @@ Description=Pytaku server
 
 [Service]
 Environment="PYTHONUNBUFFERED=1"
-ExecStart=/bin/bash -c 'export PATH=$PATH:$HOME/.local/bin; pytaku -w 10 -b 0.0.0.0:5001'
+ExecStart=/bin/bash -c 'export PATH=$PATH:$HOME/.local/bin; pytaku -w 5 -b 0.0.0.0:5001'
 WorkingDirectory=/home/pytaku/pytaku
 Restart=always
 
diff --git a/pyproject.toml b/pyproject.toml
index c95133f..4a5cb5b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pytaku"
-version = "0.3.12"
+version = "0.3.13"
 description = "Self-hostable web-based manga reader"
 authors = ["Bùi Thành Nhân <hi@imnhan.com>"]
 license = "AGPL-3.0-only"