feat: add directory watcher to StaticFileProvider::read_only (#10701)

This commit is contained in:
joshieDo
2024-09-05 17:32:37 +01:00
committed by GitHub
parent 1ec5678081
commit e8128a3c85
9 changed files with 187 additions and 8 deletions

View File

@ -28,7 +28,7 @@ fn main() -> eyre::Result<()> {
db_path,
spec.into(),
Default::default(),
StaticFileProvider::read_only(db_path.join("static_files"))?,
StaticFileProvider::read_only(db_path.join("static_files"), false)?,
)?;
// This call opens a RO transaction on the database. To write to the DB you'd need to call