No, what you have will work as expected.
On Saturday, 8 September 2012 17:02:00 UTC-5, rochacbruno wrote:
>
> I am using:
>
> cache_key = "%s_%s_%s" % (query, start, end)
> total, rows = cache.ram(cache_key, lambda: (db(query).count(),
> db(query).select(limitby=(start, end), cacheable=True)), 36
I am using:
cache_key = "%s_%s_%s" % (query, start, end)
total, rows = cache.ram(cache_key, lambda: (db(query).count(),
db(query).select(limitby=(start, end), cacheable=True)), 3600)
Should I put a dummy cache=(...) just to have the benefits?
--
I don't understand (ckickin?)
It should be optional and it shouldn't default to current behavior as it
breaks old apps.
On Sat, Sep 8, 2012 at 7:22 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> What do other people think? We can make the new behavior optional and only
> ckickin wh
3 matches
Mail list logo