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:
@ -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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user