Re: Pyramid with standalone web2py-DAL - requests, threads and memory
Solved! There is a *request.add_finished_callback* property of the request object, so I extended the DAL object: class Root(DAL): def __init__(self, request, uri): DAL.__init__(self, uri, pool_size=0) request.add_finished_callback(self._close) def _close(self, request): self._adapter.close() -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
Re: Akhet 1.0 released
On Apr 5, 2011, at 12:10 AM, Mike Orr wrote: Akhet 1.0 is here. It's an application skeleton (application template) for Pyramid that's closer to the Pylons 1 style than Pyramid's built-in skeletons. The manual also tries to be a gentler introduction to Pyramid for those from a Pylons-ish background. Woohoo, thanks Mike! -- Philip Jenvey -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.