diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea50c7c..803d4d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: matrix: os: - ubuntu-latest - - macos-11 + - macos-latest steps: - uses: actions/checkout@v3 - name: Build diff --git a/Cargo.toml b/Cargo.toml index e159f15..098e8b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/sundy-li/arrow_cli" edition = "2021" license = "Apache-2.0" name = "arrow_cli" -version = "0.1.2" +version = "0.1.3" diff --git a/src/main.rs b/src/main.rs index 1a695cb..c93ad20 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,7 +70,7 @@ fn endpoint(args: &Args, addr: String) -> Result { let mut endpoint = Endpoint::new(addr) .map_err(|_| ArrowError::IpcError("Cannot create endpoint".to_string()))? .connect_timeout(Duration::from_secs(20)) - .timeout(Duration::from_secs(20)) + .timeout(Duration::from_secs(180)) .tcp_nodelay(true) // Disable Nagle's Algorithm since we don't want packets to wait .tcp_keepalive(Option::Some(Duration::from_secs(3600))) .http2_keep_alive_interval(Duration::from_secs(300))