diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-10-17 14:18:45 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-10-17 14:18:50 -0500 |
commit | 7e4ee01d99e1ae775513f6f26767b457bf7656da (patch) | |
tree | 9c056fb8538ae2bf9d2cdc61462ac569d2ba90a1 /src/lib/Bcfg2/Reporting | |
parent | 3cf1f738c0a474e21ce56604ad874241584d59e9 (diff) | |
download | bcfg2-7e4ee01d99e1ae775513f6f26767b457bf7656da.tar.gz bcfg2-7e4ee01d99e1ae775513f6f26767b457bf7656da.tar.bz2 bcfg2-7e4ee01d99e1ae775513f6f26767b457bf7656da.zip |
add a higher timeout for caching certain objects
Diffstat (limited to 'src/lib/Bcfg2/Reporting')
-rw-r--r-- | src/lib/Bcfg2/Reporting/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/models.py b/src/lib/Bcfg2/Reporting/models.py index b6549fc64..04bfac77a 100644 --- a/src/lib/Bcfg2/Reporting/models.py +++ b/src/lib/Bcfg2/Reporting/models.py @@ -381,7 +381,7 @@ class BaseEntry(models.Model): newact = cls(**act_dict) newact.save(hash_key=act_hash) - cache.set(act_key, newact) + cache.set(act_key, newact, 60 * 60) return newact |