Commit caadecee authored by Marek Vavruša's avatar Marek Vavruša

daemon/lua: time constants in env

parent 347c4002
......@@ -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)`
......
Markdown is supported
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