mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
887e2f474d
* fix: use fixed active instances duration * fix active instances tests * fix syntax error * run pipeline --------- Co-authored-by: Silvan <silvan.reusser@gmail.com>
25 lines
540 B
Go
25 lines
540 B
Go
package projection
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Config struct {
|
|
RequeueEvery time.Duration
|
|
RetryFailedAfter time.Duration
|
|
MaxFailureCount uint
|
|
ConcurrentInstances uint
|
|
BulkLimit uint64
|
|
Customizations map[string]CustomConfig
|
|
HandleActiveInstances time.Duration
|
|
}
|
|
|
|
type CustomConfig struct {
|
|
RequeueEvery *time.Duration
|
|
RetryFailedAfter *time.Duration
|
|
MaxFailureCount *uint
|
|
ConcurrentInstances *uint
|
|
BulkLimit *uint64
|
|
HandleActiveInstances *time.Duration
|
|
}
|