mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 18:31:53 +00:00
increase subscriber channel size
This commit is contained in:
@@ -206,7 +206,7 @@ pub struct PatchDb {
|
||||
}
|
||||
impl PatchDb {
|
||||
pub async fn open<P: AsRef<Path>>(path: P) -> Result<Self, Error> {
|
||||
let (subscriber, _) = tokio::sync::broadcast::channel(16); // TODO: make this unbounded
|
||||
let (subscriber, _) = tokio::sync::broadcast::channel(512); // TODO: make this unbounded
|
||||
|
||||
Ok(PatchDb {
|
||||
store: Arc::new(RwLock::new(Store::open(path).await?)),
|
||||
|
||||
Reference in New Issue
Block a user