Skip to content

Commit

Permalink
increase default psrpc timeout (#510)
Browse files Browse the repository at this point in the history
* increase default psrpc timeout

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
paulwe and github-actions[bot] authored Nov 1, 2023
1 parent 02a4a42 commit 4a12e01
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 71 deletions.
75 changes: 37 additions & 38 deletions rpc/participant.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions rpc/participant.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ service Participant {
group: "participant"
names: ["participant"]
typed: true
single_server: true
};
};
};
Expand All @@ -27,7 +26,6 @@ service Participant {
group: "participant"
names: ["participant"]
typed: true
single_server: true
};
};
};
Expand All @@ -38,7 +36,6 @@ service Participant {
group: "participant"
names: ["participant"]
typed: true
single_server: true
};
};
};
Expand All @@ -49,7 +46,6 @@ service Participant {
group: "participant"
names: ["participant"]
typed: true
single_server: true
};
};
};
Expand Down
54 changes: 27 additions & 27 deletions rpc/participant.psrpc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rpc/typed_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ type PSRPCConfig struct {

var DefaultPSRPCConfig = PSRPCConfig{
MaxAttempts: 3,
Timeout: 500 * time.Millisecond,
Backoff: 500 * time.Millisecond,
Timeout: 3 * time.Second,
Backoff: 2 * time.Second,
BufferSize: 1000,
}

Expand Down

0 comments on commit 4a12e01

Please sign in to comment.