- 17 Nov, 2006 13 commits
-
-
Chris Withers authored
-
Chris Withers authored
- Reworking of _cached_result in Shared.DC.ZRDB.DA.DA: - fixed KeyError reported in Collector #2212 - fixed two memory leaks that occurred under high load - fixed broken cache keys for people using the obscure Shared.DC.ZRDB.DA.DA.connection_hook - fixed incorrect cache ordering resulting in newer results being dumped when the cache became too large.
-
Chris Withers authored
- remove the pointless check for cache time being enabled inside _cached_result - _cached_result isn't actually called if caching isn't enabled - slight code tidy in DA.py - lots of comments in the test_caching.py and DA.py's _cached_result method
-
Chris Withers authored
- actively remove entries from the cache when they are found to be stale. This removes the possible causes of both the KeyError bug that Brian patched in Dec 2000 and the KeyError bug reported in #2212 - remove arbitary "divide by 2" on when we start checking to empty the cache and tcache, it looks like this may have once made sense when the tcache could grow without the cache growing, but I still can't really see how it made sense :-S - fix of-by-one errors on cache size
-
Andreas Jung authored
-
Chris Withers authored
- document the slim chances of remaining memory leaks - remove pointless import try/except, it always fails now - adjust tests to make sure we still generate pathalogical dict orderings
-
Chris Withers authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Chris Withers authored
- document 2 memory leaks, one in cache and one in tcache - test coverage for the patch Brian applied in Dec 2000
-
Chris Withers authored
- replace nasty and ineffective hack for dynamic connections ids in ZSQL Method cache which is tested and works - simplify tests as a result - make sure full chain of DA.__call__ and DA._cached_result is execercised
-
Chris Withers authored
The tests pass but XXX marks stuff that needs fixing.
-
- 15 Nov, 2006 5 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Leonardo Rochael Almeida authored
-
Leonardo Rochael Almeida authored
-
Leonardo Rochael Almeida authored
-
- 12 Nov, 2006 1 commit
-
-
Jens Vagelpohl authored
-
- 01 Nov, 2006 1 commit
-
-
Tres Seaver authored
-
- 30 Oct, 2006 1 commit
-
-
Stephan Richter authored
itself.
-
- 26 Oct, 2006 1 commit
-
-
Wichert Akkerman authored
-
- 16 Oct, 2006 6 commits
-
-
David Whitfield Morriss authored
-
David Whitfield Morriss authored
-
David Whitfield Morriss authored
-
David Whitfield Morriss authored
-
Tres Seaver authored
-
Tres Seaver authored
-
- 08 Oct, 2006 2 commits
-
-
Andreas Jung authored
- Collector #2209: ZTUtils module could not be used inside ZPT
-
Andreas Jung authored
HTTP header will be done only for 'text/*'
-
- 07 Oct, 2006 1 commit
-
-
Andreas Jung authored
HTTP header will be done only for 'text/*'
-
- 04 Oct, 2006 7 commits
-
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
- 02 Oct, 2006 1 commit
-
-
Andreas Jung authored
No commit message
-
- 29 Sep, 2006 1 commit
-
-
Andreas Jung authored
-