Skip to content

Commit

Permalink
Merge pull request #3939 from akvo/bug/akvo-flow-server-config-740-in…
Browse files Browse the repository at this point in the history
…stances-use-default-automatic-scaling-which-can-be-costly

Configure automatic scaling
  • Loading branch information
dedenbangkit authored Nov 17, 2022
2 parents 32c6821 + 841eb85 commit de447bf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
<sessions-enabled>true</sessions-enabled>
<threadsafe>true</threadsafe>
<auto-id-policy>legacy</auto-id-policy>
<automatic-scaling>
<!-- Default is 20 -->
<max-instances>5</max-instances>
<!-- Default is 10 -->
<max-concurrent-requests>50</max-concurrent-requests>
</automatic-scaling>
<static-files>
<include path="/**.png" expiration="1000d 5h" />
<include path="/**.jpg" expiration="1000d 5h" />
Expand Down

0 comments on commit de447bf

Please sign in to comment.