Refresh rate of a inbound detour allocation

This commit is contained in:
v2ray committed 2015-12-29 20:52:35 +01:00
1 parent 71c70416f5
commit e19d8002a8
3 files changed
+13 -2

No files matched your search

+3 -2
View File
@@ -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 {