diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml index 1d24ef370f..7fe7e90067 100644 --- a/.github/workflows/nightly-ci.yml +++ b/.github/workflows/nightly-ci.yml @@ -117,7 +117,7 @@ jobs: name: Run clean build on Linux runs-on: ubuntu-latest if: ${{ github.repository == 'GreptimeTeam/greptimedb' }} - timeout-minutes: 30 + timeout-minutes: 45 steps: - uses: actions/checkout@v4 with: @@ -126,7 +126,7 @@ jobs: - uses: cachix/install-nix-action@v31 with: nix_path: nixpkgs=channel:nixos-24.11 - - run: nix develop --command cargo build + - run: nix develop --command cargo build --bin greptime check-status: name: Check status diff --git a/Cargo.lock b/Cargo.lock index 742c37f090..371d4dc1f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8343,9 +8343,9 @@ dependencies = [ [[package]] name = "pgwire" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c84e671791f3a354f265e55e400be8bb4b6262c1ec04fac4289e710ccf22ab43" +checksum = "a4e6fcdc2ae2173ef8ee1005b6e46453d45195ac3d97caac0db7ecf64ab4aa85" dependencies = [ "async-trait", "bytes", @@ -8356,9 +8356,10 @@ dependencies = [ "lazy-regex", "md5", "postgres-types", - "rand 0.8.5", + "rand 0.9.0", "ring", "rust_decimal", + "rustls-pki-types", "thiserror 2.0.12", "tokio", "tokio-rustls", diff --git a/src/servers/Cargo.toml b/src/servers/Cargo.toml index 3be6a59204..5ec1563604 100644 --- a/src/servers/Cargo.toml +++ b/src/servers/Cargo.toml @@ -86,7 +86,7 @@ opensrv-mysql = { git = "https://github.com/datafuselabs/opensrv", rev = "a1fb4d opentelemetry-proto.workspace = true otel-arrow-rust.workspace = true parking_lot.workspace = true -pgwire = { version = "0.28.0", default-features = false, features = ["server-api-ring"] } +pgwire = { version = "0.29", default-features = false, features = ["server-api-ring"] } pin-project = "1.0" pipeline.workspace = true postgres-types = { version = "0.2", features = ["with-chrono-0_4", "with-serde_json-1"] } diff --git a/src/servers/src/postgres/server.rs b/src/servers/src/postgres/server.rs index 3064871bb7..cc271e7709 100644 --- a/src/servers/src/postgres/server.rs +++ b/src/servers/src/postgres/server.rs @@ -76,9 +76,7 @@ impl PostgresServer { accepting_stream.for_each(move |tcp_stream| { let io_runtime = io_runtime.clone(); - let tls_acceptor = tls_server_config - .get_server_config() - .map(|server_config| Arc::new(TlsAcceptor::from(server_config))); + let tls_acceptor = tls_server_config.get_server_config().map(TlsAcceptor::from); let handler_maker = handler_maker.clone();