mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 21:42:56 +00:00
Compute node startup time is very important. After launching PostgreSQL, use 'notify' to be notified immediately when it has updated the PID file, instead of polling. The polling loop had 100 ms interval so this shaves up to 100 ms from the startup time.
24 lines
783 B
TOML
24 lines
783 B
TOML
[package]
|
|
name = "compute_tools"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
chrono = "0.4"
|
|
clap = "3.0"
|
|
env_logger = "0.9"
|
|
futures = "0.3.13"
|
|
hyper = { version = "0.14", features = ["full"] }
|
|
log = { version = "0.4", features = ["std", "serde"] }
|
|
notify = "5.0.0"
|
|
postgres = { git = "https://github.com/neondatabase/rust-postgres.git", rev="d052ee8b86fff9897c77b0fe89ea9daba0e1fa38" }
|
|
regex = "1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1"
|
|
tar = "0.4"
|
|
tokio = { version = "1.17", features = ["macros", "rt", "rt-multi-thread"] }
|
|
tokio-postgres = { git = "https://github.com/neondatabase/rust-postgres.git", rev="d052ee8b86fff9897c77b0fe89ea9daba0e1fa38" }
|
|
url = "2.2.2"
|
|
workspace_hack = { version = "0.1", path = "../workspace_hack" }
|