feat(tvix/nar-bridge): change default port

Having `tvix-store daemon` and `nar-bridge` listen on the same port by
default is silly.
Use the same port that nar-bridge-go was using previously.

Change-Id: Id374a12e52ba9dac4318e43d0ca0853866eadabc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11998
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: yuka <yuka@yuka.dev>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
This commit is contained in:
Florian Klink 2024-07-21 01:47:49 +02:00 committed by clbot
parent ca8e2b9fbf
commit 98f59cb828

View file

@ -74,7 +74,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
.with_state(state); .with_state(state);
let listen_address = &cli.listen_args.listen_address.unwrap_or_else(|| { let listen_address = &cli.listen_args.listen_address.unwrap_or_else(|| {
"[::]:8000" "[::]:9000"
.parse() .parse()
.expect("invalid fallback listen address") .expect("invalid fallback listen address")
}); });