mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Snowflake service
This commit is contained in:
parent
f808b7b19d
commit
b32f4d91c4
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue