Skip to content

Commit

Permalink
feat: added api gateway logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbret committed Mar 17, 2024
1 parent c4ed7e5 commit df16481
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/api/serverless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ const serverlessConfiguration: AWS & any = {
shouldStartNameWithService: true,
binaryMediaTypes: [`*/*`]
},
logs: {
restApi: true
},
// Do this if you want to load env vars into the Serverless environment AND
// automatically configure all your functions with them.
// This is usually not recommended to avoid loading secrets by accident (e.g. AWS_SECRET_ACCESS_KEY)
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/functions/refreshMetadata/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
*
* This lambda should stay simple and fast (check/lock)
*/
// reservedConcurrency: 1,
reservedConcurrency: 1,
events: [
{
http: {
Expand Down

0 comments on commit df16481

Please sign in to comment.