Skip to content

Commit

Permalink
Merge pull request #490 from cultuurnet/feature/serverless_timeout
Browse files Browse the repository at this point in the history
Increase timeout for serverless deployment to 600 seconds
  • Loading branch information
willaerk authored Jan 23, 2025
2 parents 8b5826c + 86bc320 commit 158e9e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/uit/notifications/deployment.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
cwd => $basedir,
path => ['/usr/local/bin', '/usr/bin', '/bin', $basedir],
environment => ["AWS_ACCESS_KEY_ID=${aws_access_key_id}", "AWS_SECRET_ACCESS_KEY=${aws_secret_access_key}"],
timeout => 600,
logoutput => true,
user => 'www-data',
refreshonly => true,
Expand Down
1 change: 1 addition & 0 deletions spec/classes/uit/notifications/deployment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
'cwd' => '/var/www/uit-notifications',
'path' => ['/usr/local/bin', '/usr/bin', '/bin', '/var/www/uit-notifications'],
'environment' => ['AWS_ACCESS_KEY_ID=secret_key_id', 'AWS_SECRET_ACCESS_KEY=secret_access_key'],
'timeout' => 600,
'logoutput' => true,
'user' => 'www-data',
'refreshonly' => true
Expand Down

0 comments on commit 158e9e7

Please sign in to comment.