1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

feat(config): Pubsub.SeenMessagesTTL (#9372)

Co-authored-by: Marcin Rataj <lidel@lidel.org>
This commit is contained in:
Mohsin Zaidi
2022-11-28 18:05:44 -05:00
committed by GitHub
parent 3b00c81c8d
commit 51f60ea05a
8 changed files with 276 additions and 62 deletions

View File

@ -11,4 +11,8 @@ type PubsubConfig struct {
// Enable pubsub (--enable-pubsub-experiment)
Enabled Flag `json:",omitempty"`
// SeenMessagesTTL configures the duration after which a previously seen
// message ID can be forgotten about.
SeenMessagesTTL *OptionalDuration `json:",omitempty"`
}