mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
test: 增加MinReportTraffic最低流量上报阈值
This commit is contained in:
@@ -17,6 +17,7 @@ type DNSConfig struct {
|
||||
}
|
||||
|
||||
func (c *Xray) AddNode(tag string, info *panel.NodeInfo, config *conf.Options) error {
|
||||
c.nodeReportMinTrafficBytes[tag] = config.ReportMinTraffic * 1024
|
||||
err := updateDNSConfig(info)
|
||||
if err != nil {
|
||||
return fmt.Errorf("build dns error: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user