Increase verbosity of cron queue counts

This commit is contained in:
Hypolite Petovan 2018-11-15 23:28:36 -05:00
parent 4c85d86b7f
commit 31156b8643

View file

@ -93,7 +93,7 @@ class Cron
ORDER BY ISNULL(`last_polled`) DESC'
);
$this->logger->info('Directories polling queue size: ' . count($directories));
$this->logger->notice('Directories polling queue size: ' . count($directories));
foreach ($directories as $directory) {
if ($time_limit && microtime(true) - $this->startTime > $time_limit) {
@ -135,7 +135,7 @@ class Cron
ORDER BY ISNULL(`last_polled`) DESC, `request_count` DESC'
);
$this->logger->info('Servers polling queue size: ' . count($servers));
$this->logger->notice('Servers polling queue size: ' . count($servers));
foreach ($servers as $server_queue_item) {
if ($time_limit && microtime(true) - $this->startTime > $time_limit) {
@ -192,7 +192,7 @@ class Cron
ORDER BY RAND() ASC'
);
$this->logger->info('Profiles polling queue size: ' . count($profiles));
$this->logger->notice('Profiles polling queue size: ' . count($profiles));
foreach ($profiles as $profile) {
if ($time_limit && microtime(true) - $this->startTime > $time_limit) {