On Thu, Oct 29, 2009 at 9:15 PM, Fabio Mascarenhas <[email protected]> wrote:
> I have just released Orbit 2.1.0 in the main LuaRocks repository. Here is
> the changelog:
> * better decoupling of orbit and orbit.model
> * support for anything with a match method as patterns
> * new options for orbit.model finders: distinct, fields
> * count option for orbit.model now limits number of rows in the SQL
> * logging of queries in orbit.model
> * overhaul of the "orbit" script: better options, --help, sets application
> path
> * content_type method in the web object to set content type
> * support for PUT and DELETE (methods `dispatch_put` and `dispatch_delete`)
> * orbit.model.recycle(*conn_builder*, *timeout*) function, to make a
> connection that automatically reopens after a certain time
> * more samples in the samples folder, and a README
> * added a "higher-order" $if to Orbit Pages, using features of Cosmo 9.09.22
> Quite a list! I will be highlighting some of the new features in blog posts
> during the next few days. The Orbit rock now installs the launchers for
> Orbit pages, op.cgi and op.fcgi, as we are dropping the old Kepler
> installer. This also means that the samples are a little more hidden: you
> need to go to tour lib/luarocks/rocks/orbit/2.1.0-1/samples folder.
> The web pages for Orbit now live on http://keplerproject.github.com/orbit.


Hi Fabio,

Could you give me an example of how you use orbit.model.recycle for
example with the blog application.
I sometimes have "Mysql has gone away" errors probably because of the
timeout and I suspect this would help.
Thanks,

-- 
Bertrand Mansion
Mamasam

_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to