Bertrand Bordage
|
941ef625fc
|
Updates README and warns about locmem limits.
|
2014-10-19 21:39:18 +02:00 |
|
Bertrand Bordage
|
09232d715c
|
Removes an unused import.
|
2014-10-19 21:17:07 +02:00 |
|
Bertrand Bordage
|
2b02eec743
|
Simplification.
|
2014-10-19 20:59:00 +02:00 |
|
Bertrand Bordage
|
f6b85adb98
|
Invalidates the parent cache before updating it to avoid the committed atomic cache keys for table queries to override those of the parent cache.
|
2014-10-19 20:40:24 +02:00 |
|
Bertrand Bordage
|
441506f3f0
|
Rewrites caching in transactions for a better multi-threading/processing handling.
|
2014-10-19 20:15:57 +02:00 |
|
Bertrand Bordage
|
bfca337e0b
|
Adds another thread-safety test.
|
2014-10-19 17:34:02 +02:00 |
|
Bertrand Bordage
|
611e4c980a
|
Adds 4 thread-safety tests.
|
2014-10-15 17:33:45 +02:00 |
|
Bertrand Bordage
|
6000d3be55
|
Fixes two issues in ThreadSafetyTestCase.
|
2014-10-15 16:32:01 +02:00 |
|
Bertrand Bordage
|
3dec971422
|
Invalidates queries cached within a concurrent connection of a transaction.
|
2014-10-14 02:01:32 +02:00 |
|
Bertrand Bordage
|
f76d3adf08
|
Adds a basic thread-safety test case.
|
2014-10-14 01:48:42 +02:00 |
|
Bertrand Bordage
|
0f6e7d95e5
|
Tries to fix cache flushes in tests.
|
2014-10-14 01:40:08 +02:00 |
|
Bertrand Bordage
|
511ab26e84
|
Also invalidates on fixture setup.
|
2014-10-14 01:27:08 +02:00 |
|
Bertrand Bordage
|
2faca40f0a
|
Adds TransactionTestCase support by clearing cachalot caches at each fixture teardown instead of each DB creation/destruction.
|
2014-10-14 01:14:43 +02:00 |
|
Bertrand Bordage
|
f638b67a83
|
[Optimization] Avoids useless multiple cache hits during transactions.
|
2014-10-13 21:07:23 +02:00 |
|
Bertrand Bordage
|
be4e723b3f
|
Commits an atomic cache after a SQL commit (not before).
|
2014-10-13 20:57:36 +02:00 |
|
Bertrand Bordage
|
ab6152dfb1
|
Use None as a default value (considering we now serialize results).
|
2014-10-07 16:08:23 +02:00 |
|
Bertrand Bordage
|
194297ce8a
|
Updates version number.
|
2014-10-07 16:06:14 +02:00 |
|
Bertrand Bordage
|
71eb00ac73
|
Version 0.6.0.
|
2014-10-06 15:30:42 +02:00 |
|
Bertrand Bordage
|
a4d20241e1
|
Revert "[Travis CI] Removes database creation."
This reverts commit 5d8c5d5785.
|
2014-10-06 15:19:29 +02:00 |
|
Bertrand Bordage
|
5d8c5d5785
|
[Travis CI] Removes database creation.
|
2014-10-06 15:06:20 +02:00 |
|
Bertrand Bordage
|
13e75f7322
|
Fixes a test for MySQL.
|
2014-10-06 14:58:21 +02:00 |
|
Bertrand Bordage
|
8091fedbc2
|
Fixes the failing test.
|
2014-10-06 14:49:53 +02:00 |
|
Bertrand Bordage
|
b355fee144
|
Mark a test as an expected failure instead of skipping it.
|
2014-10-06 14:19:02 +02:00 |
|
Bertrand Bordage
|
f899792bfb
|
Tests if None is a cached result.
|
2014-10-06 14:14:28 +02:00 |
|
Bertrand Bordage
|
8698673190
|
[Travis CI] Updates the exclude matrix.
|
2014-10-06 14:08:04 +02:00 |
|
Bertrand Bordage
|
a37c47ab0e
|
[Travis CI] Adds memcached to the services.
|
2014-10-06 13:52:21 +02:00 |
|
Bertrand Bordage
|
371759b769
|
Pickles results so that memcached even caches None values.
|
2014-10-06 13:45:57 +02:00 |
|
Bertrand Bordage
|
4fe8ac0564
|
Uses an address instead of a UNIX socket for memcached.
|
2014-10-06 13:34:27 +02:00 |
|
Bertrand Bordage
|
f3eaf75ed1
|
Fixes hashing on Python 3.
|
2014-10-06 12:34:51 +02:00 |
|
Bertrand Bordage
|
5e638805d7
|
[Travis CI] Adds memcached runners.
|
2014-10-06 04:04:10 +02:00 |
|
Bertrand Bordage
|
5a2fb5e172
|
Hashes table invalidation keys.
|
2014-10-06 04:02:57 +02:00 |
|
Bertrand Bordage
|
c89b8e0b60
|
[Travis CI] Tests against memcached.
|
2014-10-06 03:14:58 +02:00 |
|
Bertrand Bordage
|
292cbc8bdc
|
Hashes cache keys for memcached support.
|
2014-10-06 03:01:46 +02:00 |
|
Bertrand Bordage
|
7c5eea8df1
|
Uses `wraps` to be able to pickle patched methods.
|
2014-10-06 00:58:39 +02:00 |
|
Bertrand Bordage
|
0e48ffe63a
|
Note on cachalot_settings as a class decorator.
|
2014-10-06 00:50:26 +02:00 |
|
Bertrand Bordage
|
bdd112e2fd
|
Revert "Tests the settings overrider on classes."
This reverts commit 03302ff23a.
|
2014-10-06 00:45:34 +02:00 |
|
Bertrand Bordage
|
03302ff23a
|
Tests the settings overrider on classes.
|
2014-10-05 13:05:10 +02:00 |
|
Bertrand Bordage
|
1d4caf4e24
|
Allows cachalot_settings to be imported directly from cachalot.
|
2014-10-05 12:55:41 +02:00 |
|
Bertrand Bordage
|
08db9e7ca3
|
Importation cleanup.
|
2014-10-05 12:55:09 +02:00 |
|
Bertrand Bordage
|
8a70935fc7
|
Adds coverage data to gitignore.
|
2014-10-05 12:54:33 +02:00 |
|
Bertrand Bordage
|
918cbafb4f
|
Updates version number.
|
2014-10-05 12:51:26 +02:00 |
|
Bertrand Bordage
|
02b3770cc4
|
Version 0.5.0.
|
2014-10-05 03:29:00 +02:00 |
|
Bertrand Bordage
|
6aebbbb64a
|
Removes some unused code.
|
2014-10-05 03:20:29 +02:00 |
|
Bertrand Bordage
|
f4d8d9989c
|
Fixes Python 2.6 support.
|
2014-10-05 03:17:48 +02:00 |
|
Bertrand Bordage
|
92f2ecd557
|
Removes unpatch functions.
|
2014-10-05 03:14:57 +02:00 |
|
Bertrand Bordage
|
f1bb3ee001
|
Adds a context manager & decorator to dynamically override settings.
|
2014-10-05 03:11:26 +02:00 |
|
Bertrand Bordage
|
e8cff823d3
|
Adds a CACHALOT_ENABLED setting.
|
2014-10-05 02:36:19 +02:00 |
|
Bertrand Bordage
|
554dbfde94
|
Fixes database teardown in tests.
|
2014-10-05 01:46:24 +02:00 |
|
Bertrand Bordage
|
350bced73d
|
Removes map for Python 3.
|
2014-10-05 01:41:24 +02:00 |
|
Bertrand Bordage
|
e5d003c8e4
|
Removes 2 debug methods.
|
2014-10-05 01:38:01 +02:00 |
|