Page MenuHomeSoftware Heritage

gunicorn_config: Fix tests after recent changes in swh-core
ClosedPublic

Authored by anlambert on Jan 15 2020, 1:54 PM.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Update: Remove duplicated license header and update copyright years

Oops, I forgot that file.

This revision is now accepted and ready to land.Jan 15 2020, 2:18 PM

Actually, I think it would be cleaner to also stop importing swh.core's post_fork, and call swh.core.sentry.init_sentry instead:

def post_fork(server, worker)
    init_sentry(integrations=[DjangoIntegration()])
This revision now requires changes to proceed.Jan 15 2020, 2:20 PM
This revision is now accepted and ready to land.Jan 15 2020, 2:36 PM
This revision was landed with ongoing or failed builds.Jan 15 2020, 2:38 PM
This revision was automatically updated to reflect the committed changes.