Skip to content

Commit 0ee0600

Browse files
committed
fixed broken docs links
1 parent ab16214 commit 0ee0600

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

primitives/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ pub struct Timeouts {
252252
/// This includes all requests made to sentry except propagating messages.
253253
/// When propagating messages we make requests to foreign Sentry
254254
/// instances and we use a separate timeout -
255-
/// [`Config.propagation`](Config::propagation).
255+
/// [`Config.timeouts.propagation`](crate::config::Timeouts::propagation).
256256
///
257257
/// In milliseconds
258258
#[serde(with = "std_duration_millis")]

primitives/src/validator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ pub mod messages {
352352
///
353353
/// [`Channel.follower`]: crate::Channel::follower
354354
/// [`Channel.leader`]: crate::Channel::leader
355-
/// [`Config.health_unsignable_promilles`]: crate::Config::health_unsignable_promilles
355+
/// [`Config.worker.health_unsignable_promilles`]: crate::config::ValidatorWorkerConfig::health_unsignable_promilles
356356
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
357357
#[serde(rename_all = "camelCase")]
358358
pub struct RejectState<S: BalancesState> {
@@ -371,7 +371,7 @@ pub mod messages {
371371
/// The Heartbeat is sent on regular intervals every [`Config.heartbeat_time`].
372372
///
373373
/// [`Channel`]: crate::Channel
374-
/// [`Config.heartbeat_time`]: crate::Config::heartbeat_time
374+
/// [`Config.worker.heartbeat_time`]: crate::config::ValidatorWorkerConfig::heartbeat_time
375375
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
376376
#[serde(rename_all = "camelCase")]
377377
pub struct Heartbeat {

sentry/src/routes.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@
125125
//!
126126
//! Retrieve the latest validator [`MessageTypes`] for a given [`Channel`].
127127
//!
128-
//! The query `limit` parameter is constraint to a maximum of [`Config.msgs_find_limit`],
129-
//! if a large value is passed it will use the [`Config.msgs_find_limit`] instead.
128+
//! The query `limit` parameter is constraint to a maximum of [`Config.limits.msgs_find`],
129+
//! if a large value is passed it will use the [`Config.limits.msgs_find`] instead.
130130
//!
131131
//!
132132
//! **Sub-routes** with additional filtering:
@@ -464,7 +464,7 @@
464464
//!
465465
//! All [`ALLOWED_KEYS`] are allowed for admins.
466466
//!
467-
//! Admin addresses are configured in the [`Config.admins`](primitives::Config::admins).
467+
//! Admin addresses are configured in the [`Config.sentry.admins`](primitives::config::SentryConfig::admins).
468468
//!
469469
//! The route is handled by [`get_analytics()`].
470470
//!
@@ -513,7 +513,7 @@
513513
//! [`ChannelId`]: primitives::ChannelId
514514
//! [`ChannelPayRequest`]: primitives::sentry::ChannelPayRequest
515515
//! [`check_access()`]: crate::access::check_access
516-
//! [`Config.msgs_find_limit`]: primitives::Config::msgs_find_limit
516+
//! [`Config.limits.msgs_find`]: primitives::config::Limits::msgs_find
517517
//! [`Event`]: primitives::sentry::Event
518518
//! [`Heartbeat`]: primitives::validator::Heartbeat
519519
//! [`MessageTypes`]: primitives::validator::MessageTypes

0 commit comments

Comments
 (0)