Page MenuHomeSoftware Heritage

gunicorn_config.py
No OneTemporary

gunicorn_config.py

# Copyright (C) 2019-2020 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
from sentry_sdk.integrations.django import DjangoIntegration
from swh.core.sentry import init_sentry
def post_fork(server, worker):
init_sentry(sentry_dsn=None, integrations=[DjangoIntegration()])

File Metadata

Mime Type
text/x-python
Expires
Sat, Jun 21, 5:54 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3236393

Event Timeline