mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Add missing snowflake range correction (#29841)
This commit is contained in:
parent
4045c069f8
commit
966d7f5bf9
@ -46,11 +46,11 @@ class Admin::Metrics::Measure::TagServersMeasure < Admin::Metrics::Measure::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def earliest_status_id
|
def earliest_status_id
|
||||||
Mastodon::Snowflake.id_at(@start_at, with_random: false)
|
Mastodon::Snowflake.id_at(@start_at.beginning_of_day, with_random: false)
|
||||||
end
|
end
|
||||||
|
|
||||||
def latest_status_id
|
def latest_status_id
|
||||||
Mastodon::Snowflake.id_at(@end_at, with_random: false)
|
Mastodon::Snowflake.id_at(@end_at.end_of_day, with_random: false)
|
||||||
end
|
end
|
||||||
|
|
||||||
def tag
|
def tag
|
||||||
|
Loading…
Reference in New Issue
Block a user