Skip to content

Commit

Permalink
Merge pull request #34 from danskernesdigitalebibliotek/request-memor…
Browse files Browse the repository at this point in the history
…y-11MB

Reduce request memory to 11MB.
  • Loading branch information
kasperg authored Dec 19, 2023
2 parents b14b89c + 21c0b5b commit e6883ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ type: 'php:7.4'

runtime:
sizing_hints:
request_memory: 20
# A lean stack means that application memory usage is low.
# This allows us to have many workers which is useful as most time is spent
# waiting for token authorization.
# 10MB is the Platform.sh minimum but setting this value results in
# redirection errors so use a value 1 larger.
request_memory: 11

# The build-time dependencies of the app.
dependencies:
Expand Down

0 comments on commit e6883ab

Please sign in to comment.