mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-27 20:45:28 -05:00
Refresh rate of a inbound detour allocation
This commit is contained in:
@@ -55,6 +55,11 @@ func (this *PortRange) To() v2net.Port {
|
||||
type InboundDetourAllocationConfig struct {
|
||||
StrategyValue string
|
||||
ConcurrencyValue int
|
||||
RefreshSec int
|
||||
}
|
||||
|
||||
func (this *InboundDetourAllocationConfig) Refresh() int {
|
||||
return this.RefreshSec
|
||||
}
|
||||
|
||||
func (this *InboundDetourAllocationConfig) Strategy() string {
|
||||
|
||||
Reference in New Issue
Block a user