On Tue, Jan 4, 2011 at 6:01 PM, Tiago Katcipis wrote:
>
>
> On Tue, Jan 4, 2011 at 5:41 PM, Fabio Mascarenhas wrote:
>
>> If you want to run just a single, persistent WSAPI application it is much
>> easier to use this as your idlocutor.fcgi script:
>>
>>
>> pcall(require,"luarocks.require")
On Tue, Jan 4, 2011 at 5:41 PM, Fabio Mascarenhas wrote:
> If you want to run just a single, persistent WSAPI application it is much
> easier to use this as your idlocutor.fcgi script:
>
>
> pcall(require,"luarocks.require")
>
> local fastcgi = require "wsapi.fastcgi"
> local myapp = require
If you want to run just a single, persistent WSAPI application it is much
easier to use this as your idlocutor.fcgi script:
pcall(require,"luarocks.require")
local fastcgi = require "wsapi.fastcgi"
local myapp = require "myapp"
fastcgi.run(myapp.run)
Where myapp.run is your WSAPI entr
On Mon, Jan 3, 2011 at 11:27 AM, Tiago Katcipis wrote:
>
>
> On Mon, Jan 3, 2011 at 11:15 AM, Fabio Mascarenhas wrote:
>
>> With isolated=true WSAPI will run your scripts in a pool of Rings, and
>> will collect and respawn the Rings periodically,
>>
>
> besides periodically, on any 4XX and on DELE
On Mon, Jan 3, 2011 at 11:15 AM, Fabio Mascarenhas wrote:
> With isolated=true WSAPI will run your scripts in a pool of Rings, and will
> collect and respawn the Rings periodically,
>
besides periodically, on any 4XX and on DELETE method it will be respawned
too? just for curiosity :-).
> so is
With isolated=true WSAPI will run your scripts in a pool of Rings, and will
collect and respawn the Rings periodically, so isolated=false is the
behavior you want, as you are only running a single script anyway.
--
Fabio Mascarenhas
On Wed, Dec 29, 2010 at 2:48 PM, Tiago Katcipis wrote:
>
>
> On
On Wed, Dec 29, 2010 at 11:31 AM, Tiago Katcipis wrote:
> Hi all,
>
> I'm having some problem using wsapi-fastcgi with lighthttpd. I got
> everything working fine, but every time an error occurs (any 4xx) or someone
> send a DELETE method request my script is reloaded. I don't want the script
> to