Sfoglia il codice sorgente

Update Snowflake service

Daniel Supernault 3 anni fa
parent
commit
b32f4d91c4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Services/SnowflakeService.php

+ 1 - 1
app/Services/SnowflakeService.php

@@ -18,7 +18,7 @@ class SnowflakeService {
 		return ((round($ts * 1000) - 1549756800000) << 22)
 		return ((round($ts * 1000) - 1549756800000) << 22)
 		| (random_int(1,31) << 17)
 		| (random_int(1,31) << 17)
 		| (random_int(1,31) << 12)
 		| (random_int(1,31) << 12)
-		| $seq;
+		| 0;
 	}
 	}
 
 
 	public static function next()
 	public static function next()