Skip to content

Commit f898565

Browse files
authored
Merge pull request #555 from jchinedu/fix/issue-534
docs: clarify TTL math unit
2 parents acbbce7 + 3df6b11 commit f898565

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎contracts/streaming/src/lib.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
//!
2929
//! ### TTL math
3030
//! Stellar produces a ledger roughly every 5 seconds.
31+
//! Time-To-Live (TTL) is measured in ledgers rather than seconds directly.
3132
//! ```text
3233
//! INSTANCE_TTL_LEDGERS = 17_280 → 17_280 × 5s = 86_400s = ~1 day
3334
//! PERSISTENT_TTL_LEDGERS = 518_400 → 518_400 × 5s = 2_592_000s = ~30 days

0 commit comments

Comments
 (0)