mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +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
|
public function MessageListThreadsMap(string $sFolderName, string $sFolderHash, ?\MailSo\Cache\CacheClient $oCacher) : array
|
||||||
{
|
{
|
||||||
$iThreadLimit = \MailSo\Config::$LargeThreadLimit;
|
|
||||||
|
|
||||||
$sSearchHash = '';
|
$sSearchHash = '';
|
||||||
if (0 < \MailSo\Config::$MessageListDateFilter)
|
if (0 < \MailSo\Config::$MessageListDateFilter)
|
||||||
{
|
{
|
||||||
|
|
@ -732,8 +730,7 @@ class MailClient
|
||||||
if ($oCacher && $oCacher->IsInited())
|
if ($oCacher && $oCacher->IsInited())
|
||||||
{
|
{
|
||||||
$sSerializedHashKey =
|
$sSerializedHashKey =
|
||||||
'ThreadsMapSorted/'.$sSearchHash.'/'.
|
'ThreadsMapSorted/'.$sSearchHash.'/'.$sFolderName.'/'.$sFolderHash;
|
||||||
'Limit='.$iThreadLimit.'/'.$sFolderName.'/'.$sFolderHash;
|
|
||||||
|
|
||||||
if ($this->oLogger)
|
if ($this->oLogger)
|
||||||
{
|
{
|
||||||
|
|
@ -765,6 +762,7 @@ class MailClient
|
||||||
}
|
}
|
||||||
catch (\MailSo\Imap\Exceptions\RuntimeException $oException)
|
catch (\MailSo\Imap\Exceptions\RuntimeException $oException)
|
||||||
{
|
{
|
||||||
|
\SnappyMail\LOG::warning('MessageListThreadsMap ' . $oException->getMessage());
|
||||||
unset($oException);
|
unset($oException);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1033,6 +1031,7 @@ class MailClient
|
||||||
{
|
{
|
||||||
if ($bUseThreads) {
|
if ($bUseThreads) {
|
||||||
$aAllThreads = $this->MessageListThreadsMap($oMessageCollection->FolderName, $oMessageCollection->FolderHash, $oParams->oCacher);
|
$aAllThreads = $this->MessageListThreadsMap($oMessageCollection->FolderName, $oMessageCollection->FolderHash, $oParams->oCacher);
|
||||||
|
// $iThreadLimit = \MailSo\Config::$LargeThreadLimit;
|
||||||
|
|
||||||
if ($oParams->iThreadUid)
|
if ($oParams->iThreadUid)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue