diff --git a/.k8s/manifest.yml b/.k8s/manifest.yml index c23b8db..391a87a 100644 --- a/.k8s/manifest.yml +++ b/.k8s/manifest.yml @@ -60,7 +60,7 @@ metadata: namespace: alquran-cloud config: second: 20 - policy: cluster + policy: local limit_by: ip plugin: rate-limiting --- diff --git a/etc/unit/.unit.conf.json b/etc/unit/.unit.conf.json index 0fc96c3..2e18040 100644 --- a/etc/unit/.unit.conf.json +++ b/etc/unit/.unit.conf.json @@ -20,7 +20,7 @@ "processes": { "max": 25, "spare": 5, - "idle_timeout": 5 + "idle_timeout": 30 }, "root": "/var/www/html", "index": "index.php",