docs: fix broken links

This commit is contained in:
nazeh
2025-02-13 13:28:25 +03:00
parent 15cfeef84d
commit de7a19f680
4 changed files with 6 additions and 6 deletions

View File

@@ -72,8 +72,8 @@ mod protected {
}
/// calculate optimal chunk size:
/// - https://lmdb.readthedocs.io/en/release/#storage-efficiency-limits
/// - https://github.com/lmdbjava/benchmarks/blob/master/results/20160710/README.md#test-2-determine-24816-kb-byte-values
/// - <https://lmdb.readthedocs.io/en/release/#storage-efficiency-limits>
/// - <https://github.com/lmdbjava/benchmarks/blob/master/results/20160710/README.md#test-2-determine-24816-kb-byte-values>
fn max_chunk_size() -> usize {
let page_size = page_size::get();

View File

@@ -113,7 +113,7 @@ impl DB {
/// Return a list of pubky urls.
///
/// - limit defaults to [crate::core::Config::default_list_limit] and capped by [crate::core::Config::max_list_limit]
/// - limit defaults to [crate::config::DEFAULT_LIST_LIMIT] and capped by [crate::config::DEFAULT_MAX_LIST_LIMIT]
pub fn list(
&self,
txn: &RoTxn,

View File

@@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize};
use crate::core::database::DB;
/// Event [Timestamp] base32 => Encoded event.
/// Event [pkarr::Timestamp] base32 => Encoded event.
pub type EventsTable = Database<Str, Bytes>;
pub const EVENTS_TABLE: &str = "events";
@@ -62,7 +62,7 @@ impl Event {
impl DB {
/// Returns a list of events formatted as `<OP> <url>`.
///
/// - limit defaults to [crate::Config::default_list_limit] and capped by [crate::Config::max_list_limit]
/// - limit defaults to [crate::config::DEFAULT_LIST_LIMIT] and capped by [crate::config::DEFAULT_MAX_LIST_LIMIT]
/// - cursor is a 13 character string encoding of a timestamp
pub fn list_events(
&self,

View File

@@ -34,7 +34,7 @@ pub(crate) struct AppState {
}
#[derive(Debug, Clone)]
/// A side-effect-free Core of the [Homeserver].
/// A side-effect-free Core of the [crate::Homeserver].
pub struct HomeserverCore {
config: CoreConfig,
pub(crate) router: Router,