• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/data/cacheenginememcache.php
  • Класс: BitrixMainDataCacheEngineMemcache
  • Вызов: CacheEngineMemcache::getExpire
static function getExpire($ttl)
{
	$ttl = (int) $ttl;
	if ($ttl > 2592000)
	{
		$ttl = microtime(1) + $ttl;
	}

	return $ttl;
}