On

http://www.web2py.com/examples/default/dal

Line one


db = DAL(‘postgres://user:passw...@hostname/db’, pools=10)


there is no pools declarative it should be pool_size,

Is this a typo in documentation? the book uses pool_size

For the heck of it, it can be patched for backwards compatibility:

+def DAL(uri, pool_size=0, pool=None):
+    if pool and not pool_size:
+        pool_size = pool


-Thadeus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to