1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/util
Kurtis Mullins fbf5efb1ec [PROJQUAY-1035] fix: Convert gunicorn worker counts to int for comparisons. (#542)
Fixes the following traceback:
```
Failed to read config file: /quay-registry/conf/gunicorn_web.py
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/gunicorn/app/base.py", line 111, in get_config_from_filename
spec.loader.exec_module(mod)
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/quay-registry/conf/gunicorn_web.py", line 21, in <module>
workers = get_worker_count("web", 2, minimum=2, maximum=32)
File "/quay-registry/util/workers.py", line 32, in get_worker_count
return max(override_value, minimum)
TypeError: '>' not supported between instances of 'int' and 'str'
```
2020-09-03 11:23:01 -04:00
..
2020-06-05 16:50:13 -04:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-08-07 16:08:36 -04:00
2020-06-05 16:50:13 -04:00
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-06-05 16:50:13 -04:00
2019-12-02 12:23:08 -05:00
2020-06-05 16:50:13 -04:00
2019-12-02 12:23:08 -05:00
2020-06-05 16:50:13 -04:00
2020-06-05 16:50:13 -04:00
2020-06-05 16:50:13 -04:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-06-05 16:50:13 -04:00
2020-02-05 19:55:07 -08:00
2019-12-02 12:23:08 -05:00
2020-06-05 16:50:13 -04:00
2019-11-12 11:09:47 -05:00
2020-02-05 19:55:07 -08:00
2019-12-02 12:23:08 -05:00
2020-06-05 16:50:13 -04:00
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-06-05 16:50:13 -04:00
2019-12-02 12:23:08 -05:00
2020-03-11 13:54:08 -04:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2019-12-02 12:23:08 -05:00
2019-12-02 12:23:08 -05:00
2020-06-05 16:50:13 -04:00
2020-08-07 16:08:36 -04:00
2020-02-05 19:55:07 -08:00