Kevin Wan
Kevin Wan
It's type aliased in zrpc package. You can use it.
Check the config of `MaxBytes` and `Timeout`.
But why to set the values less than or equal to 0?
What kind of behavior you prefer?
If any err, Finish function quits. Because like we're doing some IO requests, if any of them failed, others should quit, but if they're blocked in IO, the only way...
> I also encountered this error, when one of Service B's pod got some net failure for a moment, after it rescued, the error is still exist for about 15...
On this kind of purpose, I recommend you to change the template file that not to use `httpx.Parse`.
It's supported already. with the `env` tag.
```go waitForCalled := proc.AddWrapUpListener(func() { fmt.Println("wrap up start...") time.Sleep(5 * time.Second) fmt.Println("wrap up done") }) waitForCalled() ```
> > ```go > > waitForCalled := proc.AddWrapUpListener(func() { > > fmt.Println("wrap up start...") > > time.Sleep(5 * time.Second) > > fmt.Println("wrap up done") > > }) > > waitForCalled()...