glance/glance/tests
Erno Kuvaja ef841b6704 Limit default workers to 8
With modern servers it's not uncommon to see environments that has
dozens of logical processors. Glance defaults workers to number of
these logical processors seen by OS and each worker spins up pool
of 1000 threads. Having dozens of these thread pools consuming
resources is total overkill for most of the environments.

This change limits the amount of workers used by default to 8 which
should be plenty for most of the deployments. This limitation does
not affect if more workers is specifically configured in the config
file.

Change-Id: I6fcf2f8a416e34c0c719e1abd73f0525e686be5e
Closes-Bug: #1748916
(cherry picked from commit 6f87c7d567)
2018-02-13 22:06:03 +00:00
..
etc Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
functional Implementation of db check command 2018-02-08 17:32:33 +05:30
integration Remove usage of parameter enforce_type 2017-05-31 14:32:20 +08:00
unit Limit default workers to 8 2018-02-13 22:06:03 +00:00
var Support importing OVA/OVF package to Glance 2016-02-24 14:35:19 -08:00
__init__.py Fix py27 eventlet issue <0.22.0 2018-01-26 17:22:08 -05:00
stubs.py Remove unused None from dict.get() 2017-07-05 12:49:10 +00:00
test_hacking.py Hacking checks for not using dict iteration calls 2016-01-25 21:54:08 -08:00
utils.py Modify glance manage db sync to use EMC 2018-02-05 17:00:57 +05:30