increase timeout for update folder cache to 5 mins
[tine20] / tine20 / Felamimail / Frontend / Json.php
index 04a5bfe..3b36a74 100644 (file)
@@ -123,6 +123,9 @@ class Felamimail_Frontend_Json extends Tinebase_Frontend_Json_Abstract
      */
     public function updateFolderCache($accountId, $folderName)
     {
+        // this may take longer
+        $this->_longRunningRequest(300);
+
         $result = Felamimail_Controller_Cache_Folder::getInstance()->update($accountId, $folderName, TRUE);
         return $this->_multipleRecordsToJson($result);
     }