Changed nodelist import processing since we have a DB contraint on mailer address and port

This commit is contained in:
Deon George
2021-08-28 13:36:42 +10:00
parent 6b8704b1cf
commit 12f9ee1960
2 changed files with 63 additions and 55 deletions

View File

@@ -54,6 +54,7 @@ class EchoareaImport implements ShouldQueue
{
// Get the file from the host
$file = $this->getFileFromHost('',self::importkey,$this->file);
Log::debug(sprintf('%s:Loading file [%s] (%s).',static::LOGKEY,$file,getcwd()));
$lines = $this->getFileLines($file);
Log::debug(sprintf('%s:Processing [%d] lines.',static::LOGKEY,$lines));