These are chat archives for getredash/redash

4th
Sep 2016
Arik Fraimovich
@arikfr
Sep 04 2016 08:15
@HenroRitchie I don't use any swap.
@clearclaw are you sure you're in the right channel? we don't have any concept of a DAG...
@Orange19810_twitter other queries run, but only the scheduled don't?
Alessandro Cosentino
@cosenal
Sep 04 2016 12:48
Hi, I have a bunch of parametrized queries that are cached server-side. How can I clear that cache?
Alessandro Cosentino
@cosenal
Sep 04 2016 12:54
the data has changed since the time those queries were cached
Arik Fraimovich
@arikfr
Sep 04 2016 12:55
@cosenal what version of Redash?
Alessandro Cosentino
@cosenal
Sep 04 2016 12:55
@arikfr 0.10.1+b1836
Arik Fraimovich
@arikfr
Sep 04 2016 12:56
@cosenal I have vague memory of fixing this in 0.11. also you can add maxAge=... where ... is number in seconds, to make it load a cached value that is at most ... seconds old.
Alessandro Cosentino
@cosenal
Sep 04 2016 12:58
I was going to ask that next, how can I set a ttl? :)
@arikfr what if I set the maxAge now?
Arik Fraimovich
@arikfr
Sep 04 2016 12:59
it will do what I described above
Alessandro Cosentino
@cosenal
Sep 04 2016 13:01
sorry I wasn't clear enough. I meant: say I have a query that is already cached with some default maxAge argument (what is the default, btw?). If I re-run the query with a maxAge parameter, will the old value be replaced?
@arikfr ^
Arik Fraimovich
@arikfr
Sep 04 2016 13:03
@cosenal yes
Alessandro Cosentino
@cosenal
Sep 04 2016 13:03
great, by setting the maxAge parameter, it considered the query as a new one, so it didn't fetch the cache! :+1:
thank you, @arikfr
Arik Fraimovich
@arikfr
Sep 04 2016 13:04
:+1: