Changeset 1764
- Timestamp:
- 10/18/07 23:04:41 (14 months ago)
- Files:
-
- 1 modified
-
trunk/gregarius/extlib/rss_dbcache.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/extlib/rss_dbcache.inc
r1762 r1764 118 118 list($dateRefreshed) = rss_fetch_row($res); 119 119 $refreshInterval = getProperty($cid, 'rss.config.refreshinterval'); 120 if(true == empty($refreshInterval)) {121 $refreshInterval = 60;122 }123 120 124 121 // Lets hope that the web server and sql server have their clocks in sync 125 122 $age = time() - $dateRefreshed; 126 123 127 if (!$refreshInterval || ($refreshInterval < 10)) {124 if (!$refreshInterval || ($refreshInterval <= 60)) { 128 125 // We should change the Gregarius UA if we allow refreshInterval to be small 129 126 $refreshInterval = $this->MAX_AGE;
