From: <gem...@li...> - 2013-01-31 14:36:24
|
Revision: 1129 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=1129&view=rev Author: mennodekker Date: 2013-01-31 14:36:17 +0000 (Thu, 31 Jan 2013) Log Message: ----------- Set lifetime for limesurvey fieldmaps to 1 day to allow better response times Modified Paths: -------------- trunk/library/classes/Gems/Tracker/Source/LimeSurvey1m9FieldMap.php Modified: trunk/library/classes/Gems/Tracker/Source/LimeSurvey1m9FieldMap.php =================================================================== --- trunk/library/classes/Gems/Tracker/Source/LimeSurvey1m9FieldMap.php 2013-01-30 12:23:04 UTC (rev 1128) +++ trunk/library/classes/Gems/Tracker/Source/LimeSurvey1m9FieldMap.php 2013-01-31 14:36:17 UTC (rev 1129) @@ -342,7 +342,8 @@ } } $this->_fieldMap = $map; - $this->cache->save($this->_fieldMap, $cacheId); + // Use a tag (for cleaning if supported) and 1 day lifetime, maybe clean cache on sync survey? + $this->cache->save($this->_fieldMap, $cacheId, array('fieldmap'), 86400); //60*60*24=86400 } return $this->_fieldMap; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |