Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Use localhost as default DB hostname
Browse files Browse the repository at this point in the history
For systems that only support IPv6, we want to use localhost
instead of 127.0.0.1, so it can resolve to whatever loopback
address is available, instead of assuming IPv4.
  • Loading branch information
meteorfox committed Jan 25, 2020
1 parent 9ca1867 commit f08ee78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/PerfOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ final class PerfOptions {

public bool $notBenchmarking = false;

public string $dbHost = '127.0.0.1'; //The hostname/IP of server which hosts the database.
public string $dbHost = 'localhost'; //The hostname/IP of server which hosts the database.
public int $memcachedPort; //The hostname/IP of server which hosts memcached.
public int $memcachedThreads; // Number of memcached threads

Expand Down

0 comments on commit f08ee78

Please sign in to comment.