stable

Clone or download

Read-only

fix: request #40461 Installation might not succeed when a long domain name is used

This is a follow-up to b74791cc4f5c292eff11ea22e40ebe3d9e8e31e5 where some inaccurate assumptions were made. This should fix issues where in some situations the determined server names hash bucket size was too small. Change-Id: Ide609b0a382607e7463bcf0a564a3f871846da0e

Modified Files

Name
A src/tuleap-cfg/Command/SiteDeploy/Nginx/CPUInformation.php +31 −0 Go to diff View file
A src/tuleap-cfg/Command/SiteDeploy/Nginx/CurrentCPUInformation.php +49 −0 Go to diff View file
M src/tuleap-cfg/Command/SiteDeploy/Nginx/NginxCommon.php +7 −40 Go to diff View file
A src/tuleap-cfg/Command/SiteDeploy/Nginx/NginxServerNamesHashBucketSizeCalculator.php +62 −0 Go to diff View file
M src/tuleap-cfg/Command/SiteDeploy/Nginx/SiteDeployNginx.php +2 −2 Go to diff View file
M src/tuleap-cfg/Command/SiteDeploy/Nginx/SiteDeployNginxCommand.php +1 −0 Go to diff View file
A tests/unit/tuleap-cfg/Command/SiteDeploy/Nginx/FakeX8664CPUInformationStub.php +36 −0 Go to diff View file
A tests/unit/tuleap-cfg/Command/SiteDeploy/Nginx/NginxServerNamesHashBucketSizeCalculatorTest.php +52 −0 Go to diff View file