diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/util/jql.py b/ckanext-hdx_theme/ckanext/hdx_theme/util/jql.py index f18e22fed0..f6268d9bf2 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/util/jql.py +++ b/ckanext-hdx_theme/ckanext/hdx_theme/util/jql.py @@ -18,7 +18,7 @@ log = logging.getLogger(__name__) dogpile_config = { - 'cache.redis.expiration_time': config.get('hdx.analytics.hours_for_results_in_cache', 24) * 60 * 60, + 'cache.redis.expiration_time': int(config.get('hdx.analytics.hours_for_results_in_cache', 24)) * 60 * 60, } dogpile_config.update(dogpile_standard_config)