Skip to content

Commit d08a8d8

Browse files
committed
fixup! add doc comment
1 parent 879878b commit d08a8d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/matrix-sdk-ui/src/timeline/pinned_events_loader.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ use ruma::{EventId, MilliSecondsSinceUnixEpoch, OwnedEventId};
2424
use thiserror::Error;
2525
use tracing::{debug, warn};
2626

27-
const MAX_PINNED_EVENTS_CONCURRENT_REQUESTS: usize = 10;
27+
/// The max number of concurrent `/event` requests to run when loading pinned events.
28+
pub const MAX_PINNED_EVENTS_CONCURRENT_REQUESTS: usize = 10;
2829

2930
/// Utility to load the pinned events in a room.
3031
pub struct PinnedEventsLoader {

0 commit comments

Comments
 (0)