Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1829 from holochain/pickle-instead-of-lmdb
Browse files Browse the repository at this point in the history
Revert CAS default back to PickleDB
  • Loading branch information
lucksus authored Nov 4, 2019
2 parents 452ccf2 + 49b4f5a commit 6b97839
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/conductor_lib/src/conductor/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,13 @@ impl ConductorAdmin for Conductor {
id: id.to_string(),
dna: dna_id.to_string(),
agent: agent_id.to_string(),
storage: StorageConfiguration::Lmdb {
storage: StorageConfiguration::Pickle {
path: storage_path
.to_str()
.ok_or_else(|| {
HolochainError::ConfigError(format!("invalid path {:?}", storage_path))
})?
.into(),
initial_mmap_bytes: None,
},
};
new_config.instances.push(new_instance_config);
Expand Down Expand Up @@ -1171,7 +1170,7 @@ id = 'new-instance'"#,
toml = add_block(
toml,
format!(
"[instances.storage]\npath = '{}'\ntype = 'lmdb'",
"[instances.storage]\npath = '{}'\ntype = 'pickle'",
storage_path_string
),
);
Expand Down Expand Up @@ -1463,7 +1462,7 @@ id = 'new-instance-2'"#,
toml = add_block(
toml,
format!(
"[instances.storage]\npath = '{}'\ntype = 'lmdb'",
"[instances.storage]\npath = '{}'\ntype = 'pickle'",
storage_path_string
),
);
Expand Down

0 comments on commit 6b97839

Please sign in to comment.