mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-30 03:51:56 +00:00
increase max revisions that can be rebased onto
This commit is contained in:
committed by
Keagan McClelland
parent
259d186263
commit
690324e68d
@@ -218,7 +218,7 @@ pub struct PatchDb {
|
|||||||
}
|
}
|
||||||
impl PatchDb {
|
impl PatchDb {
|
||||||
pub async fn open<P: AsRef<Path>>(path: P) -> Result<Self, Error> {
|
pub async fn open<P: AsRef<Path>>(path: P) -> Result<Self, Error> {
|
||||||
let (subscriber, _) = tokio::sync::broadcast::channel(512); // TODO: make this unbounded
|
let (subscriber, _) = tokio::sync::broadcast::channel(4096); // TODO: make this unbounded
|
||||||
|
|
||||||
Ok(PatchDb {
|
Ok(PatchDb {
|
||||||
store: Arc::new(RwLock::new(Store::open(path).await?)),
|
store: Arc::new(RwLock::new(Store::open(path).await?)),
|
||||||
|
|||||||
Reference in New Issue
Block a user