mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
Disable iThreadLimit
This commit is contained in:
parent
2312bb52f5
commit
641e8f2e34
1 changed files with 3 additions and 4 deletions
|
|
@ -713,8 +713,6 @@ class MailClient
|
|||
*/
|
||||
public function MessageListThreadsMap(string $sFolderName, string $sFolderHash, ?\MailSo\Cache\CacheClient $oCacher) : array
|
||||
{
|
||||
$iThreadLimit = \MailSo\Config::$LargeThreadLimit;
|
||||
|
||||
$sSearchHash = '';
|
||||
if (0 < \MailSo\Config::$MessageListDateFilter)
|
||||
{
|
||||
|
|
@ -732,8 +730,7 @@ class MailClient
|
|||
if ($oCacher && $oCacher->IsInited())
|
||||
{
|
||||
$sSerializedHashKey =
|
||||
'ThreadsMapSorted/'.$sSearchHash.'/'.
|
||||
'Limit='.$iThreadLimit.'/'.$sFolderName.'/'.$sFolderHash;
|
||||
'ThreadsMapSorted/'.$sSearchHash.'/'.$sFolderName.'/'.$sFolderHash;
|
||||
|
||||
if ($this->oLogger)
|
||||
{
|
||||
|
|
@ -765,6 +762,7 @@ class MailClient
|
|||
}
|
||||
catch (\MailSo\Imap\Exceptions\RuntimeException $oException)
|
||||
{
|
||||
\SnappyMail\LOG::warning('MessageListThreadsMap ' . $oException->getMessage());
|
||||
unset($oException);
|
||||
}
|
||||
|
||||
|
|
@ -1033,6 +1031,7 @@ class MailClient
|
|||
{
|
||||
if ($bUseThreads) {
|
||||
$aAllThreads = $this->MessageListThreadsMap($oMessageCollection->FolderName, $oMessageCollection->FolderHash, $oParams->oCacher);
|
||||
// $iThreadLimit = \MailSo\Config::$LargeThreadLimit;
|
||||
|
||||
if ($oParams->iThreadUid)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue