mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 21:42:56 +00:00
Fix DEFAULT_GC_PERIOD_SEC type
This commit is contained in:
@@ -138,7 +138,10 @@ pub fn init_repo(local_env: &mut LocalEnv) -> Result<()> {
|
|||||||
.arg("--no-instructions")
|
.arg("--no-instructions")
|
||||||
.env_clear()
|
.env_clear()
|
||||||
.env("LD_LIBRARY_PATH", local_env.pg_lib_dir().to_str().unwrap())
|
.env("LD_LIBRARY_PATH", local_env.pg_lib_dir().to_str().unwrap())
|
||||||
.env("DYLD_LIBRARY_PATH", local_env.pg_lib_dir().to_str().unwrap())
|
.env(
|
||||||
|
"DYLD_LIBRARY_PATH",
|
||||||
|
local_env.pg_lib_dir().to_str().unwrap(),
|
||||||
|
)
|
||||||
.stdout(Stdio::null())
|
.stdout(Stdio::null())
|
||||||
.status()
|
.status()
|
||||||
.with_context(|| "failed to execute initdb")?;
|
.with_context(|| "failed to execute initdb")?;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ use slog::Drain;
|
|||||||
use pageserver::{page_service, tui, zenith_repo_dir, PageServerConf};
|
use pageserver::{page_service, tui, zenith_repo_dir, PageServerConf};
|
||||||
|
|
||||||
const DEFAULT_GC_HORIZON: u64 = 0; //64 * 1024 * 1024;
|
const DEFAULT_GC_HORIZON: u64 = 0; //64 * 1024 * 1024;
|
||||||
const DEFAULT_GC_PERIOD_SEC: u32 = 1;
|
const DEFAULT_GC_PERIOD_SEC: u64 = 1;
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
let arg_matches = App::new("Zenith page server")
|
let arg_matches = App::new("Zenith page server")
|
||||||
|
|||||||
2
vendor/postgres
vendored
2
vendor/postgres
vendored
Submodule vendor/postgres updated: 77624689b7...fc5ffb678d
Reference in New Issue
Block a user