Changing File/Send debugging to make it clear it is content read/open, not a network read/open
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 36s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m46s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This commit is contained in:
Deon George 2024-06-27 15:26:28 +10:00
parent 173446edbe
commit b9603e4bb8

View File

@ -224,12 +224,12 @@ class Send extends Base
*/
public function open(string $compress=''): bool
{
Log::debug(sprintf('%s:+ Opening file to send',self::LOGKEY));
Log::debug(sprintf('%s:+ File Open to send',self::LOGKEY));
if ((($this->index=$this->list->search(function($item) { return $item->complete === FALSE; })) !== FALSE)
&& $this->sending->open())
{
Log::info(sprintf('%s:- Sending item #%d (%s) with size [%d]',self::LOGKEY,$this->index,$this->sending->nameas,$this->sending->size));
Log::info(sprintf('%s:- Content Send item [#%d] (%s) with size [%d]',self::LOGKEY,$this->index,$this->sending->nameas,$this->sending->size));
$this->pos = 0;
$this->start = time();
@ -303,7 +303,7 @@ class Send extends Base
$this->pos += strlen($data);
Log::debug(sprintf('%s:- Read [%d] bytes, file pos now [%d]',self::LOGKEY,strlen($data),$this->pos));
Log::debug(sprintf('%s:- Content Read [%d] bytes, pos now [%d]',self::LOGKEY,strlen($data),$this->pos));
return $data;
}
@ -323,7 +323,7 @@ class Send extends Base
if ($this->sending->seek($pos)) {
$this->pos = $pos;
Log::debug(sprintf('%s:= Seeked to [%d]',self::LOGKEY,$this->pos));
Log::debug(sprintf('%s:= Content Seek to [%d]',self::LOGKEY,$this->pos));
return TRUE;