mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-08-01 11:34:14 +03:00
fix: reduce default chunk_size to 1000 for domain and subnet import functions
This commit is contained in:
@@ -60,7 +60,7 @@ patch_source_ruleset_rules() {
|
|||||||
import_plain_domain_list_to_local_source_ruleset_chunked() {
|
import_plain_domain_list_to_local_source_ruleset_chunked() {
|
||||||
local plain_list_filepath="$1"
|
local plain_list_filepath="$1"
|
||||||
local ruleset_filepath="$2"
|
local ruleset_filepath="$2"
|
||||||
local chunk_size="${3:-5000}"
|
local chunk_size="${3:-1000}"
|
||||||
|
|
||||||
local array count json_array
|
local array count json_array
|
||||||
count=0
|
count=0
|
||||||
@@ -102,7 +102,7 @@ import_plain_domain_list_to_local_source_ruleset_chunked() {
|
|||||||
import_plain_subnet_list_to_local_source_ruleset_chunked() {
|
import_plain_subnet_list_to_local_source_ruleset_chunked() {
|
||||||
local plain_list_filepath="$1"
|
local plain_list_filepath="$1"
|
||||||
local ruleset_filepath="$2"
|
local ruleset_filepath="$2"
|
||||||
local chunk_size="${3:-5000}"
|
local chunk_size="${3:-1000}"
|
||||||
|
|
||||||
local array count json_array
|
local array count json_array
|
||||||
count=0
|
count=0
|
||||||
|
|||||||
Reference in New Issue
Block a user