Commit Graph

67 Commits

Author SHA1 Message Date
mdipierro
eebf406d97 fixed import error 2016-08-01 04:13:32 -05:00
mdipierro
cc1ff02079 only one portalocker 2016-08-01 03:46:51 -05:00
mdipierro
35eaba1096 removed duplicated code, using pydal's _compat.py 2016-08-01 03:39:22 -05:00
ilvalle
967b2e27a7 added global_settings.is_py2 2016-07-06 17:25:26 +02:00
ilvalle
61c9b7991e py35 fix cacheOnDisk on win 2016-07-04 20:30:50 +02:00
ilvalle
a1fd92b7f8 updated imports in tests 2016-06-02 14:28:21 +02:00
ilvalle
01bab81432 manually adapt few imports 2016-06-01 20:16:30 +02:00
ilvalle
35900da19b running lib2to3.fixes.fix_except 2016-05-29 08:31:19 +02:00
Leonel Câmara
87a3de22d7 remove ordereddict 2016-05-11 01:03:04 +01:00
Hardirc
58a8ba067c cache.py PEP8 enhancement 2016-03-26 13:11:27 -04:00
mdipierro
22c89d8dcc version 2.13.1 2015-12-17 21:19:08 -06:00
mdipierro
4de007a946 fixed possible problem with cache.action 2015-10-16 21:39:30 -05:00
Bernard Letourmy
4b14a87463 fixes #966 - deadlock in cache.disk 2015-05-13 09:35:22 +08:00
niphlod
cefa30841b file is already open at this point... fixes #895 2015-04-08 21:47:04 +02:00
mdipierro
a921751e8e stripe form bs3 compatible, disabled cache.ram max utilization 2015-04-05 18:17:27 -05:00
mdipierro
f5b0bff445 Merge branch 'master' of github.com:web2py/web2py 2015-03-30 01:26:20 -05:00
Leonel Câmara
3e46e985bf Fix thundering herd problem due to the lock for a key being released too early 2015-03-28 00:56:53 +00:00
Leonel Câmara
9050840962 Changed CacheOnDisk to use fine grained locking instead of atomic replacement 2015-03-27 01:49:48 +00:00
mdipierro
fb902dd9ce throttling cache collection 2015-03-24 11:26:01 -05:00
mdipierro
e397ad5782 cache.ram.max_ram_utilization = 90 2015-03-22 19:16:29 -05:00
mdipierro
438cdc809b used gluon/contrib/orderddict 2015-03-22 19:12:26 -05:00
mdipierro
3ea49739d3 expire cache when ram excees 90% 2015-03-22 13:40:05 -05:00
kirsn
84c967de98 Issue 2035: Fix the caching on Windows - issue with filenames greater than 256 chars 2015-01-21 23:35:57 +05:30
mdipierro
5bc5d0496e R-2.9.12 2015-01-17 00:07:10 -06:00
Leonel Câmara
daf382c4fb fixes issue 2025 - Encode filenames using base32 if you're running on windows to avoid invalid characters. 2015-01-07 21:36:15 +00:00
ilvalle
d93810697f fix cache clear with regex and tests 2014-12-16 20:32:51 +01:00
niphlod
50f16744a7 fix cache.increment, added tests 2014-09-16 23:50:10 +02:00
niphlod
6403878f95 refactored pickle everywhere but Session, removed unused imports 2014-09-10 19:12:10 +02:00
mdipierro
2d9f0fafdc better cache-disk, thanks Leonel 2014-09-04 22:27:52 -05:00
ilyaran
0dbdf8c676 Update cache.py 2014-05-24 10:35:58 +05:00
niphlod
98ee81606b docstrings fixes 2014-01-27 22:56:58 +01:00
mdipierro
64b670fd8f fixed issue with scheduler and cache.disk introduced in 2.8.1 2013-11-28 07:50:55 -06:00
Massimo
5b3b5b6821 fixed issue 1736, Unable to create/re-create cache file error for cache.disk, thanks arglanir 2013-10-31 09:40:39 -05:00
Alfonso de la Guarda Reyes
5679661914 Minor fixes for pep and style 2013-10-05 08:03:50 -05:00
mdipierro
ed9def985e R-2.6.1 2013-09-12 17:08:52 -05:00
Alfonso de la Guarda Reyes
a51d087797 Fixing some typos inside tests and unneeded modules 2013-09-02 19:32:26 -05:00
niphlod
0c2d97b9db cache.action now works with actions raising HTTP internally 2013-04-29 21:07:04 +02:00
mdipierro
a2e118ec50 fixed Issue 1456:encoding in mail.send, thanks Corne 2013-04-19 23:46:38 -05:00
Massimo
30ea9ac56b fixed cache and it.py, thanks Niphlod 2013-03-22 15:38:05 -05:00
mdipierro
22accaced3 cache.client 2013-03-10 11:14:30 -05:00
mdipierro
554640b103 fixed issue 1121, appadmin interface to cache, thanks Paolo 2012-10-29 08:57:43 -05:00
mdipierro
6aa5edc7ff many pep8 improvements 2012-10-19 12:33:53 -05:00
mdipierro
71ec15190b some pep8 changes (fixed spacing at end) 2012-10-19 10:37:07 -05:00
mdipierro
3a66f5e330 fixed some pep8 stuff 2012-10-19 09:40:17 -05:00
Massimo
b3841e19d2 added comments in cache, thanks Michele 2012-10-10 15:16:21 -05:00
mdipierro
d5cdcf9285 many improvements in cache, lazy cache.ram and cache.disk 2012-10-10 11:03:52 -05:00
mdipierro
48d2ea7424 many improvements in cache 2012-10-10 11:01:09 -05:00
mdipierro
4031b49d77 cache.with_prefix(cache.ram,'prefix'), thanks Bruno 2012-09-14 16:08:25 -05:00
mdipierro
c292b896e3 conditional models with cached re.compile, thanks Anthony 2012-09-02 12:12:59 -05:00
mdipierro
030203effd no more has_key 2012-08-26 18:34:50 -05:00