Skip to content

Commit

Permalink
Add setters and getters for config fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ferglor committed Feb 23, 2024
1 parent d1a00d5 commit c545adf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/types/automation/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,16 @@ type Encoder interface {

type LogEventProvider interface {
GetLatestPayloads(context.Context) ([]UpkeepPayload, error)
SetConfig(LogEventProviderConfig)
Start(context.Context) error
Close() error
}

type LogEventProviderConfig struct {
NumLogUpkeeps uint32
FastExecLogsHigh uint32
}

type RecoverableProvider interface {
GetRecoveryProposals(context.Context) ([]UpkeepPayload, error)
}
Expand Down

0 comments on commit c545adf

Please sign in to comment.