File tree Expand file tree Collapse file tree 3 files changed +32
-24
lines changed
src/common/cloud_control/src Expand file tree Collapse file tree 3 files changed +32
-24
lines changed Original file line number Diff line number Diff line change @@ -43,27 +43,27 @@ jobs:
43
43
name : python-linux-${{ matrix.arch }}
44
44
path : src/bendpy/dist/*.whl
45
45
46
- macos :
47
- if : inputs.tag
48
- runs-on : macos-latest
49
- strategy :
50
- matrix :
51
- arch :
52
- - aarch64
53
- steps :
54
- - uses : actions/checkout@v4
55
- with :
56
- fetch-depth : 0
57
- - uses : ./.github/actions/build_bindings_python
58
- with :
59
- target : ${{ matrix.arch }}-apple-darwin
60
- version : ${{ inputs.tag }}
61
- - name : upload
62
- if : inputs.tag
63
- uses : actions/upload-artifact@v4
64
- with :
65
- name : python-macos-${{ matrix.arch }}
66
- path : src/bendpy/dist/*.whl
46
+ # macos:
47
+ # if: inputs.tag
48
+ # runs-on: macos-latest
49
+ # strategy:
50
+ # matrix:
51
+ # arch:
52
+ # - aarch64
53
+ # steps:
54
+ # - uses: actions/checkout@v4
55
+ # with:
56
+ # fetch-depth: 0
57
+ # - uses: ./.github/actions/build_bindings_python
58
+ # with:
59
+ # target: ${{ matrix.arch }}-apple-darwin
60
+ # version: ${{ inputs.tag }}
61
+ # - name: upload
62
+ # if: inputs.tag
63
+ # uses: actions/upload-artifact@v4
64
+ # with:
65
+ # name: python-macos-${{ matrix.arch }}
66
+ # path: src/bendpy/dist/*.whl
67
67
68
68
publish :
69
69
if : inputs.tag
Original file line number Diff line number Diff line change @@ -656,8 +656,8 @@ if [[ "$INSTALL_BUILD_TOOLS" == "true" ]]; then
656
656
657
657
# Any call to cargo will make rustup install the correct toolchain
658
658
cargo version
659
- cargo install cargo-quickinstall
660
- cargo quickinstall cargo-binstall
659
+ # # install cargo-binstall
660
+ curl -L --proto ' =https ' --tlsv1.2 -sSf https://raw.githubusercontent.com/ cargo-bins/cargo- binstall/main/install-from-binstall-release.sh | bash
661
661
cargo binstall -y sccache
662
662
cargo binstall -y cargo-zigbuild
663
663
cargo binstall -y cargo-nextest
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ use crate::pb::ShowTasksResponse;
36
36
37
37
pub ( crate ) const TASK_CLIENT_VERSION : & str = "v1" ;
38
38
pub ( crate ) const TASK_CLIENT_VERSION_NAME : & str = "TASK_CLIENT_VERSION" ;
39
+ /// Grpc default configuration.
40
+ /// The hard limit of maximum message size the client or server can **send**.
41
+ pub const MAX_ENCODING_SIZE : usize = 32 * 1024 * 1024 ;
42
+ /// The hard limit of maximum message size the client or server can **receive**.
43
+ pub const MAX_DECODING_SIZE : usize = 32 * 1024 * 1024 ;
39
44
40
45
pub struct TaskClient {
41
46
pub task_client : TaskServiceClient < Channel > ,
@@ -44,7 +49,10 @@ pub struct TaskClient {
44
49
impl TaskClient {
45
50
// TODO: add auth interceptor
46
51
pub async fn new ( channel : Channel ) -> Result < Arc < TaskClient > > {
47
- let task_client = TaskServiceClient :: new ( channel) ;
52
+ let task_client = TaskServiceClient :: new ( channel)
53
+ . max_decoding_message_size ( MAX_DECODING_SIZE )
54
+ . max_encoding_message_size ( MAX_ENCODING_SIZE ) ;
55
+
48
56
Ok ( Arc :: new ( TaskClient { task_client } ) )
49
57
}
50
58
You can’t perform that action at this time.
0 commit comments