mirror of https://github.com/tootsuite/mastodon
Cleaner way of converting days to seconds
parent
a0fba97d79
commit
1a47d339a8
|
@ -362,7 +362,7 @@ namespace :mastodon do
|
||||||
q.convert :int
|
q.convert :int
|
||||||
end
|
end
|
||||||
|
|
||||||
env['IP_RETENTION_PERIOD'] = (ip_retention_period_days * 86_400)
|
env['IP_RETENTION_PERIOD'] = ip_retention_period_days.days.to_i
|
||||||
|
|
||||||
prompt.say "\n"
|
prompt.say "\n"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue