Skip to content

Commit

Permalink
Add Unit timeout and change stragegy back to cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Dec 28, 2023
1 parent e404b4d commit a069019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .k8s/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ metadata:
namespace: aladhan-com
config:
second: 24
policy: cluster
policy: local
limit_by: ip
plugin: rate-limiting
---
Expand Down
2 changes: 1 addition & 1 deletion etc/unit/.unit.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "php",
"user": "nobody",
"limits": {
"timeout": 5,
"timeout": 30,
"requests": 10000
},
"processes": {
Expand Down

0 comments on commit a069019

Please sign in to comment.