feat: use WithBlock() by default, NonBlock can be set in config or WithNonBlock() (#1198)
This commit is contained in:
@@ -28,6 +28,7 @@ type (
|
||||
Target string `json:",optional"`
|
||||
App string `json:",optional"`
|
||||
Token string `json:",optional"`
|
||||
NonBlock bool `json:",optional"`
|
||||
Retry bool `json:",optional"` // grpc auto retry
|
||||
Timeout int64 `json:",default=2000"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user