Skip to content

Commit

Permalink
fix: fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterPtato committed Nov 19, 2024
1 parent 2b6a2bf commit 8081eeb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/infra/client/manager/src/ctx.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::{
collections::HashMap,
net::SocketAddr,
path::PathBuf,
result::Result::{Err, Ok},
sync::Arc,
Expand Down Expand Up @@ -495,7 +496,7 @@ impl Ctx {
let config = IsolateRunnerConfig {
actors_path: self.actors_path(),
fdb_cluster_path: self.fdb_cluster_path(),
runner_addr: SocketAddr::from([127, 0, 0, 1], self.config().runner.port()),
runner_addr: SocketAddr::from(([127, 0, 0, 1], self.config().runner.port())),
};

// Write isolate runner config
Expand Down Expand Up @@ -618,7 +619,7 @@ impl Ctx {
}

pub fn fdb_cluster_path(&self) -> PathBuf {
self.config().runtime.data_dir().join("fdb.cluster")
self.config().data_dir().join("fdb.cluster")
}

pub fn actors_path(&self) -> PathBuf {
Expand Down
2 changes: 1 addition & 1 deletion packages/infra/client/manager/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ pub async fn init_fdb_config(config: &Config) -> Result<()> {

// Should match Ctx::fdb_cluster_path
fs::write(
config.client.runtime.data_dir().join("fdb.cluster"),
config.client.data_dir().join("fdb.cluster"),
format!("fdb:fdb@{joined}"),
)
.await?;
Expand Down
1 change: 1 addition & 0 deletions packages/services/pegboard/standalone/gc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ struct ActorRow {
client_id: Uuid,
failed_start: bool,
failed_stop: bool,
failed_exit: bool,
}

pub async fn start(config: rivet_config::Config, pools: rivet_pools::Pools) -> GlobalResult<()> {
Expand Down

0 comments on commit 8081eeb

Please sign in to comment.