backend: try to remove ms dependency #9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ms
is a package to convert string representations to a number of milliseconds, e.g. convert'1h'
to3_600_000
. Having this dependency seems unnecessary.I'm not sure if we should directly hard code the numbers with a comment next to them or have a file with a bunch of constants like this:
Probably a file with constants will work. Somewhere backend/src/misc or something like that?