You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PoolModestring`long:"pool-mode" description:"The mode to run pool in, either 'integrated' (default) or 'remote'. 'integrated' means poold is started alongside the UI and everything is stored in pool's main data directory, configure everything by using the --pool.* flags. 'remote' means the UI connects to an existing poold node and acts as a proxy for gRPC calls to it." choice:"integrated" choice:"remote"`
184
185
Pool*pool.Config`group:"Integrated pool options (use when pool-mode=integrated)" namespace:"pool"`
// DefaultInterceptTimeout is the default maximum time we're allowed to
7
+
// take to respond to an RPC middleware interception request.
8
+
DefaultInterceptTimeout=time.Second*2
9
+
)
10
+
11
+
// Config is the configuration struct for the RPC middleware.
12
+
typeConfigstruct {
13
+
Disabledbool`long:"disabled" description:"Disable the RPC middleware"`
14
+
InterceptTimeout time.Duration`long:"intercept-timeout" description:"The maximum time the RPC middleware is allowed to take for intercepting each RPC request"`
15
+
}
16
+
17
+
// DefaultConfig returns the default RPC middleware configuration.
0 commit comments