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
Branch
fix-gunicorn-config-tests
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10112
Build 14985: Cypress tests for swh-web diffsJenkins
Build 14984: tox-on-jenkinsJenkins
Build 14983: arc lint + arc unit

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.