Fix memcache locking issue.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 23 Jul 2009 20:18:10 +0000 (14:18 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 23 Jul 2009 20:18:10 +0000 (14:18 -0600)
commit024ed5ffd88be18fc5022fae3b85d8b5f5494559
tree135b69a0600590befc498fc0b2cf6481194dd942
parentda42ef783824d956bb727dca15eb80a14a0df7c8
Fix memcache locking issue.

If you don't specify a time value to delete(), apparently memcache takes
that as expiring in 1 second - not an instantaneous expire.  Which isn't
mentioned in the documentation and is not very intuitive (delete means
delete).  This was causing slow load times on message with a lot of
attached images - the thumbnails were slow to load because the sessions
were not being marked as unlocked for at least a second, preventing the
next image from loading.
framework/Memcache/lib/Horde/Memcache.php