There was an error while loading. Please reload this page.
1 parent 3b866f3 commit 1c0b006Copy full SHA for 1c0b006
1 file changed
geoportal/gunicorn.conf.py
@@ -115,9 +115,7 @@ def on_starting(server: gunicorn.arbiter.Arbiter) -> None:
115
prometheus.start()
116
117
118
-def post_fork(
119
- server: gunicorn.arbiter.Arbiter, worker: gunicorn.workers.base.Worker
120
-) -> None:
+def post_fork(server: gunicorn.arbiter.Arbiter, worker: gunicorn.workers.base.Worker) -> None:
121
"""
122
Will cleanup the configuration we get from the main process.
123
@@ -129,9 +127,7 @@ def post_fork(
129
127
prometheus.cleanup()
130
128
131
132
-def child_exit(
133
134
+def child_exit(server: gunicorn.arbiter.Arbiter, worker: gunicorn.workers.base.Worker) -> None:
135
136
Remove the metrics for the exited worker.
137
0 commit comments