mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 17:57:33 +00:00

# Which Problems Are Solved The current handling of event subscriptions for actions is bad, esp. on instances with a lot of events (https://github.com/zitadel/zitadel/issues/9832#issuecomment-2866236414). This led to severe problems on zitadel.cloud for such instances. # How the Problems Are Solved As a workaround until the handling can be improved, we introduce an option for projections to be disabled completely for specific instances: `SkipInstanceIDs` # Additional Changes None # Additional Context - relates to https://github.com/zitadel/zitadel/issues/9832
31 lines
694 B
Go
31 lines
694 B
Go
package projection
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Config struct {
|
|
RequeueEvery time.Duration
|
|
RetryFailedAfter time.Duration
|
|
MaxFailureCount uint8
|
|
ConcurrentInstances uint
|
|
BulkLimit uint64
|
|
Customizations map[string]CustomConfig
|
|
HandleActiveInstances time.Duration
|
|
MaxActiveInstances uint32
|
|
TransactionDuration time.Duration
|
|
ActiveInstancer interface {
|
|
ActiveInstances() []string
|
|
}
|
|
}
|
|
|
|
type CustomConfig struct {
|
|
RequeueEvery *time.Duration
|
|
RetryFailedAfter *time.Duration
|
|
MaxFailureCount *uint8
|
|
ConcurrentInstances *uint
|
|
BulkLimit *uint16
|
|
TransactionDuration *time.Duration
|
|
SkipInstanceIDs []string
|
|
}
|