Skip to content

Commit

Permalink
Remove error log.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-X-Net committed Aug 5, 2023
1 parent 62862fa commit d382131
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/default/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.5.1
5.5.2
3 changes: 3 additions & 0 deletions code/default/x_tunnel/local/cloudflare_front/ip_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def save_domains(self, domains):
def get_ip_sni_host(self):
now = time.time()
for top_domain, info in self.domain_map.items():
if info["links"] < 0:
info["links"] = 0

if info["links"] >= self.config.max_connection_per_domain:
continue

Expand Down
2 changes: 1 addition & 1 deletion code/default/x_tunnel/local/tls_relay_front/ip_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_ip_sni_host(self):
for ip in ips:
info = self._get_ip_info(ip)
if info["links"] < 0:
self.logger.error("ip %s link:%d", ip, info["links"])
# self.logger.error("ip %s link:%d", ip, info["links"])
info["links"] = 0

if info["links"] >= self.config.max_links_per_ip:
Expand Down

0 comments on commit d382131

Please sign in to comment.