mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-30 23:37:44 +00:00
test case for allocation config
This commit is contained in:
1 parent
b18693a9c4
commit
be57f48bb3
2 files changed
+27
-10
No files matched your search
@@ -129,7 +129,7 @@ func (this *InboundDetourConfig) UnmarshalJSON(data []byte) error {
|
||||
}
|
||||
}
|
||||
if this.Allocation.Strategy == AllocationStrategyRandom {
|
||||
if this.Allocation.Refresh == 0 {
|
||||
if this.Allocation.Refresh == DefaultRefreshMinute {
|
||||
this.Allocation.Refresh = 5
|
||||
}
|
||||
if this.Allocation.Concurrency == 0 {
|
||||
|
||||
Reference in new issue
Block a user