mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-27 00:11:00 -06:00
xfer
This commit is contained in:
parent
7848c14c2b
commit
b9705285e9
@ -1,6 +1,6 @@
|
||||
use std::path::PathBuf;
|
||||
use directories::ProjectDirs;
|
||||
use crate::*;
|
||||
use directories::ProjectDirs;
|
||||
use std::path::PathBuf;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
pub type ConfigCallbackReturn = VeilidAPIResult<Box<dyn core::any::Any + Send>>;
|
||||
@ -329,6 +329,9 @@ impl Default for VeilidConfigDHT {
|
||||
remote_max_records: 128,
|
||||
remote_max_subkey_cache_memory_mb: 256,
|
||||
remote_max_storage_space_mb: 256,
|
||||
public_watch_limit: 32,
|
||||
member_watch_limit: 8,
|
||||
max_watch_expiration_ms: 600000,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -381,7 +381,7 @@ cfg_if::cfg_if! {
|
||||
}
|
||||
|
||||
} else {
|
||||
pub fn ensure_file_private_owner<P:AsRef<Path>>(_path: P) -> Result<(), String>
|
||||
pub fn ensure_file_private_owner<P:AsRef<Path>>(path: P) -> Result<(), String>
|
||||
{
|
||||
let path = path.as_ref();
|
||||
if !path.is_file() {
|
||||
|
Loading…
Reference in New Issue
Block a user