Skip to content

Commit

Permalink
temp removes profiling node for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
stolinski committed Nov 1, 2024
1 parent 803ad1c commit 59da8d3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/playwright-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Prune incompatible dependencies
run: pnpm prune --prod

- name: Info
run: npx envinfo --preset playwright

- name: Setup DB
run: pnpm db:generate

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"@leveluptuts/svelte-side-menu": "^1.1.0",
"@oddbird/popover-polyfill": "^0.4.4",
"@prisma/client": "5.18.0",
"@sentry/profiling-node": "^8.28.0",
"@sentry/sveltekit": "^8.28.0",
"@sparticuz/chromium": "^122.0.0",
"@svelte-put/shortcut": "^3.1.1",
Expand Down
4 changes: 2 additions & 2 deletions src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { dev } from '$app/environment';
import { UPSPLASH_TOKEN, UPSPLASH_URL } from '$env/static/private';
import get_show_path from '$utilities/slug';
import { Redis } from '@upstash/redis';
import { nodeProfilingIntegration } from '@sentry/profiling-node';
// import { nodeProfilingIntegration } from '@sentry/profiling-node';

export const cache_status = UPSPLASH_URL && UPSPLASH_TOKEN ? 'ONLINE' : 'OFFLINE';

Expand All @@ -38,7 +38,7 @@ Sentry.init({
profilesSampleRate: 1.0, // Profiling sample rate is relative to tracesSampleRate
environment: dev ? 'development' : 'production',
integrations: [
nodeProfilingIntegration,
// nodeProfilingIntegration,
Sentry.prismaIntegration(),
Sentry.redisIntegration({ cachePrefixes: ['show:', 'shows:', 'show-og:'] })
],
Expand Down

0 comments on commit 59da8d3

Please sign in to comment.