Skip to content
Snippets Groups Projects
Commit caadecee authored by Marek Vavruša's avatar Marek Vavruša
Browse files

daemon/lua: time constants in env

parent 347c4002
Branches
Tags
No related merge requests found
......@@ -2,6 +2,10 @@
kB = 1024
MB = 1024*1024
GB = 1024*1024
-- Time
sec = 1000
minute = 60 * sec
hour = 60 * minute
-- Function aliases
-- `env.VAR returns os.getenv(VAR)`
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment