Batch up files when sending to a remote node
This commit is contained in:
@@ -32,6 +32,7 @@ class Setup extends Model
|
||||
public const O_DNS = 1<<3; /* List for DNS */
|
||||
public const O_HIDEAKA = 1<<4; /* Hide AKAs to different Zones */
|
||||
|
||||
public const MAX_BATCH_FILES = 5;
|
||||
public const MAX_MSGS_PKT = 50;
|
||||
|
||||
protected $casts = [
|
||||
@@ -68,6 +69,9 @@ class Setup extends Model
|
||||
case 'emsi_options':
|
||||
return Arr::get($this->servers,str_replace('_','.',$key));
|
||||
|
||||
case 'batch_files':
|
||||
return Arr::get($this->options,$key,self::MAX_BATCH_FILES);
|
||||
|
||||
case 'msgs_pkt':
|
||||
return Arr::get($this->options,$key,self::MAX_MSGS_PKT);
|
||||
|
||||
|
Reference in New Issue
Block a user