refactor(core): Minor improvements to pruning service (#11578)

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
Iván Ovejero
2024-11-06 13:16:23 +01:00
committed by GitHub
parent 9468eea405
commit befa26f89a
5 changed files with 111 additions and 142 deletions

View File

@@ -127,6 +127,9 @@ export const TIME = {
* Eventually this will superseed `TIME` above
*/
export const Time = {
milliseconds: {
toMinutes: 1 / (60 * 1000),
},
seconds: {
toMilliseconds: 1000,
},