journal: disable noisy message pool events.
This commit is contained in:
parent
3bd9d55a15
commit
cb8e209f78
@ -153,7 +153,12 @@ func defaults() []Option {
|
||||
Override(new(dtypes.Bootstrapper), dtypes.Bootstrapper(false)),
|
||||
Override(new(dtypes.ShutdownChan), make(chan struct{})),
|
||||
Override(new(journal.Journal), journal.OpenFSJournal),
|
||||
Override(new(journal.DisabledEvents), journal.DisabledEvents{}),
|
||||
|
||||
// By default, disable noisy mpool events; keep only mpool:repub on.
|
||||
Override(new(journal.DisabledEvents), journal.DisabledEvents{
|
||||
journal.EventType{System: "mpool", Event: "add"},
|
||||
journal.EventType{System: "mpool", Event: "remove"},
|
||||
}),
|
||||
|
||||
Override(InitJournalKey, func(j journal.Journal) { /* forces the creation of the journal at startup */ }),
|
||||
// Filecoin modules
|
||||
|
Loading…
Reference in New Issue
Block a user