Skip to content

Commit

Permalink
Update timeout for post
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Apr 7, 2023
1 parent 5582209 commit fa8eca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/Controllers/v1/Edition.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function getByFormat(ServerRequestInterface $request, ResponseInterface $
public function getLanguages(ServerRequestInterface $request, ResponseInterface $response, array $args): ResponseInterface
{
return Http\Response::json($response,
['ar', 'az', 'bn', 'cs', 'de', 'dv', 'en', 'es', 'fa', 'fr','ha', 'hi', 'id', 'it', 'ja', 'ko', 'ku', 'ml', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sd', 'so', 'sq', 'sv', 'sw', 'ta', 'tg', 'th', 'tr', 'tt', 'ug', 'ur', 'uz'],
['ar', 'am', 'az', 'ber', 'bn', 'cs', 'de', 'dv', 'en', 'es', 'fa', 'fr','ha', 'hi', 'id', 'it', 'ja', 'ko', 'ku', 'ml', 'nl', 'no', 'pl','ps', 'pt', 'ro', 'ru', 'sd', 'so', 'sq', 'sv', 'sw', 'ta', 'tg', 'th', 'tr', 'tt', 'ug', 'ur', 'uz'],
200,
true,
86400
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": 5000
},
"processes": {
Expand Down

0 comments on commit fa8eca6

Please sign in to comment.