Skip to content

Commit

Permalink
Enable sentry profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
zuhdil committed Sep 11, 2023
1 parent 809480f commit 7b7128f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions akvo/settings/80-sentry.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ if 'SENTRY_DSN' in os.environ: # pragma: no cover
SENTRY_CONFIG['dsn'],
release=release,
environment=environment,
traces_sample_rate=0.9,
profiles_sample_rate=0.9,
ignore_errors=[
'django.core.exceptions.PermissionDenied',
'django.http.response.Http404',
Expand Down
2 changes: 1 addition & 1 deletion akvo/settings/90-finish.conf
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ CRONTAB_LOCK_JOBS = True
AKVO_JOBS = {
"a4a_optimy_import": {
"func": "django.core.management.call_command",
"cron": "10 2 * * *",
"cron": "10 4 * * *",
"args": ( "a4a_optimy_import", )
},
"cleanup_untitled_and_unpublished_projects": {
Expand Down

0 comments on commit 7b7128f

Please sign in to comment.