Menu

Trac Commit Log


Commit Date  
[r6261] by cboos

Make sure the environment shutdown for the current thread is called after each request processing, even in case of errors.

This ensures that the db connection pool will get cleaned-up appropriately and that no permanent shortage of db connection can happen.

Closes #4465.

2007-11-30 11:12:42 Tree
[r6260] by cboos

Backout r6124, i.e. restore the r4886 fix, as this makes an essential difference '''on Linux'''. Without acquiring the db connection first, it's quite easy to trigger the timeout problem with simultaneous requests on that platform.

That variety of timeout is not of the "persistent" kind though, that's a different issue that will be dealt with separately.

Related to #4465.

Note that I've checked once again that this change makes absolutely no visible difference on Windows (i.e. with or without acquiring the db first, I can't trigger a timeout to happen).

2007-11-30 10:56:45 Tree
[r6259] by osimons

Small follow-up fix for [6254] - `DefaultPermissionPolicy` needs to return `True` or `None` so that it doesn't break the chain.

Without the fix, the default `LegacyAttachmentPolicy` would never get called as defalt option is `permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy`.

2007-11-30 08:58:54 Tree
[r6258] by jruigrok

Fix up an entry.

2007-11-30 07:05:18 Tree
[r6257] by jruigrok

Sync with trunk.

2007-11-30 06:58:43 Tree
[r6256] by osimons

Porting [6016:6017] to 0.10-stable. Fixes #5632 where non-egg plugins would load more than once.

2007-11-29 21:49:37 Tree
[r6255] by jruigrok

Fix up header.
Fix up mistakes introduced by Babel's update.

2007-11-29 16:02:52 Tree
[r6254] by athomas

Added a permission cache to !DefaultPermissionPolicy.

2007-11-29 13:40:58 Tree
[r6253] by jruigrok

Add gettext markers and switch to keyword arguments.

2007-11-29 07:05:21 Tree
[r6252] by jruigrok

Add gettext marker.

2007-11-29 06:38:13 Tree
Older >