diff options
author | dvs1 | 2024-10-25 13:46:00 +1000 |
---|---|---|
committer | dvs1 | 2024-10-25 13:46:00 +1000 |
commit | 36768a0b83dbaf78a7bbd51d1f38020703592abd (patch) | |
tree | 26295cc7f045a6609aaa00c6ba653c852de55062 | |
parent | Comment++ (diff) | |
download | JackOnAllDevices-36768a0b83dbaf78a7bbd51d1f38020703592abd.zip JackOnAllDevices-36768a0b83dbaf78a7bbd51d1f38020703592abd.tar.gz JackOnAllDevices-36768a0b83dbaf78a7bbd51d1f38020703592abd.tar.bz2 JackOnAllDevices-36768a0b83dbaf78a7bbd51d1f38020703592abd.tar.xz |
Forgot to add the test conf file.
-rw-r--r-- | .test_.conf.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.test_.conf.lua b/.test_.conf.lua new file mode 100644 index 0000000..4a360a2 --- /dev/null +++ b/.test_.conf.lua | |||
@@ -0,0 +1,17 @@ | |||
1 | -- This works coz LuaJIT automatically loads the jit module. | ||
2 | if type(jit) == 'table' then | ||
3 | io.write(arg[0] .. ' is being run by ' .. jit.version .. ' under ' .. jit.os .. ' on a ' .. jit.arch .. '\n') | ||
4 | else | ||
5 | io.write(arg[0] .. ' is being run by Lua version ' .. _VERSION .. '\n') | ||
6 | end | ||
7 | |||
8 | return { | ||
9 | ["performance"] = "default"; -- fast, balanced, default, lean | ||
10 | ["debug"] = false; | ||
11 | ["loadAverageInc"] = 0.7; | ||
12 | ["timeOut"] = 20; -- seconds | ||
13 | ["webRoot"] = "/var/www/html"; | ||
14 | ["idleTimeOut"] = 30 * 60; -- seconds | ||
15 | ['start'] = 'Start?'; | ||
16 | ['stop'] = 'Stop?'; | ||
17 | } | ||