There was an error while loading. Please reload this page.
1 parent cf73ade commit 68893b1Copy full SHA for 68893b1
1 file changed
lib/private/ServerInfo.php
@@ -25,7 +25,7 @@ public function getServerId(): int {
25
if ($serverid < 1) {
26
// Fallback: generates a server ID based on hostname
27
/** @var int<0,max> */
28
- $serverid = PHP_INT_SIZE === 4
+ $serverid = PHP_INT_SIZE === 8
29
? hexdec(hash('xxh32', $this->getHostname()))
30
// Makes sure it doesn't overflow 32 bits int
31
: hexdec(substr(hash('xxh32', $this->getHostname()), -3));
0 commit comments