Created
October 29, 2009 21:14
-
-
Save mascarenhas/221848 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/lua | |
pcall(require,"luarocks.require") | |
local common = require "wsapi.common" | |
local fastcgi = require "wsapi.fastcgi" | |
local ONE_HOUR = 60 * 60 | |
local ONE_DAY = 24 * ONE_HOUR | |
local wsapi_loader = common.make_isolated_loader{ | |
filename = nil, | |
launcher = "wsapi.fcgi", | |
reload = false, | |
period = ONE_HOUR, | |
ttl = ONE_DAY | |
} | |
fastcgi.run(wsapi_loader) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment