Merge pull request #2559 from laggardkernel/bugfix/reexec-env

Typo fix for reexec related environ variables
This commit is contained in:
Benoit Chesneau 2024-08-10 11:07:03 +02:00 committed by GitHub
commit 334392e779
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,7 @@ class Arbiter:
self.log = self.cfg.logger_class(app.cfg)
# reopen files
if 'GUNICORN_FD' in os.environ:
if 'GUNICORN_PID' in os.environ:
self.log.reopen_files()
self.worker_class = self.cfg.worker_class