]> git.mxchange.org Git - friendica.git/commitdiff
Polling Mails is now done with a higher priority
authorMichael <heluecht@pirati.ca>
Tue, 10 Mar 2020 09:44:26 +0000 (09:44 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 10 Mar 2020 09:44:26 +0000 (09:44 +0000)
src/Worker/Cron.php

index e22051cfc65eef23882f35911d65968f12821d90..714f84059539e1692e9cd6b7ef4fe67c665f2794 100644 (file)
@@ -282,7 +282,7 @@ class Cron
                                }
                        }
 
-                       if (($contact['network'] == Protocol::FEED) && ($contact['priority'] <= 3)) {
+                       if ((($contact['network'] == Protocol::FEED) && ($contact['priority'] <= 3)) || ($contact['network'] == Protocol::MAIL)) {
                                $priority = PRIORITY_MEDIUM;
                        } elseif ($contact['archive']) {
                                $priority = PRIORITY_NEGLIGIBLE;