Skip to content

Commit

Permalink
馃悰(website) fix CI sentry out of memory error
Browse files Browse the repository at this point in the history
The library `Sentry` seems quite big, the circle e2e job get
out of memory.
- We fixed the problem by adding more memory to the job.
- The scope was not correct on LTI, we changed it.
  • Loading branch information
AntoLC committed Apr 3, 2023
1 parent 49695c3 commit 5ae3ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ jobs:
POSTGRES_USER: marsha_user
POSTGRES_PASSWORD: pass
working_directory: /home/circleci/marsha/src/frontend
resource_class: medium+
parameters:
browser:
description: 'Playwright browser'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const AppInitializer = (
release: appConfig.release,
});
Sentry.configureScope((scope) =>
scope.setExtra('application', 'standalone'),
scope.setExtra('application', 'frontend'),
);

setIsSentryReady(true);
Expand Down

0 comments on commit 5ae3ab2

Please sign in to comment.