Sfoglia il codice sorgente

Merge pull request #505 from yz0075/master

set lua cache to on for lapis
Michael Robertson 12 anni fa
parent
commit
f476e821e3
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      lapis/config.lua
  2. 1 1
      lapis/config.moon

+ 1 - 1
lapis/config.lua

@@ -9,6 +9,6 @@ end)
 return config("production", function()
   port(80)
   num_workers(4)
-  lua_code_cache("off")
+  lua_code_cache("on")
   return postgresql_url("postgres://benchmarkdbuser:[email protected]/hello_world")
 end)

+ 1 - 1
lapis/config.moon

@@ -6,5 +6,5 @@ config "development", ->
 config "production", ->
   port 80
   num_workers 4
-  lua_code_cache "off"
+  lua_code_cache "on"
   postgresql_url "postgres://benchmarkdbuser:[email protected]/hello_world"