From 7bcb2ef2f2096fa62fa6651fa222d41b0c69d431 Mon Sep 17 00:00:00 2001 From: javi Date: Thu, 19 Dec 2013 12:14:25 +0100 Subject: [PATCH] added cache_policy persists --- lib/torque/provider.json.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/torque/provider.json.js b/lib/torque/provider.json.js index 4fea510..9eb72df 100644 --- a/lib/torque/provider.json.js +++ b/lib/torque/provider.json.js @@ -497,6 +497,7 @@ if (!data) return; self.options.extra_params = self.options.extra_params || {}; self.options.extra_params.last_updated = data.updated_at || 0; + self.options.extra_params.cache_policy = 'persist'; self.options.is_time = data.fields[self.options.column].type === 'date'; var column_conv = self.options.column;