mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
Refresh rate of a inbound detour allocation
This commit is contained in:
1 parent
71c70416f5
commit
e19d8002a8
3 files changed
+13
-2
No files matched your search
@@ -30,8 +30,9 @@ const (
|
||||
)
|
||||
|
||||
type InboundDetourAllocationConfig interface {
|
||||
Strategy() string
|
||||
Concurrency() int
|
||||
Strategy() string // Allocation strategy of this inbound detour.
|
||||
Concurrency() int // Number of handlers (ports) running in parallel.
|
||||
Refresh() int // Number of seconds before a handler is regenerated.
|
||||
}
|
||||
|
||||
type InboundDetourConfig interface {
|
||||
|
||||
Reference in new issue
Block a user