mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-13 16:59:36 +03:00
feat: make preloading of CIDR asynchronous at application startup
This commit is contained in:
@@ -77,11 +77,6 @@ class SiteFactory {
|
||||
$ip4 = self::normalize($ip4, true);
|
||||
$ip6 = self::normalize($ip6, true);
|
||||
|
||||
if ($timeout) {
|
||||
$cidr4 = self::normalize(IP4Helper::processCIDR($ip4, self::normalize($cidr4)), true);
|
||||
$cidr6 = self::normalize(IP6Helper::processCIDR($ip6, self::normalize($cidr6)), true);
|
||||
}
|
||||
|
||||
return new Site($name, $group, $domains, $dns, $timeout, $ip4, $ip6, $cidr4, $cidr6, $external);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user