Skip to content

Commit 1c0b006

Browse files
Apply pre-commit fix
From the artifact of the previous workflow run
1 parent 3b866f3 commit 1c0b006

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

geoportal/gunicorn.conf.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@ def on_starting(server: gunicorn.arbiter.Arbiter) -> None:
115115
prometheus.start()
116116

117117

118-
def post_fork(
119-
server: gunicorn.arbiter.Arbiter, worker: gunicorn.workers.base.Worker
120-
) -> None:
118+
def post_fork(server: gunicorn.arbiter.Arbiter, worker: gunicorn.workers.base.Worker) -> None:
121119
"""
122120
Will cleanup the configuration we get from the main process.
123121
@@ -129,9 +127,7 @@ def post_fork(
129127
prometheus.cleanup()
130128

131129

132-
def child_exit(
133-
server: gunicorn.arbiter.Arbiter, worker: gunicorn.workers.base.Worker
134-
) -> None:
130+
def child_exit(server: gunicorn.arbiter.Arbiter, worker: gunicorn.workers.base.Worker) -> None:
135131
"""
136132
Remove the metrics for the exited worker.
137133

0 commit comments

Comments
 (0)