mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-22 03:02:14 +00:00
fix(eventstore): use decimal, correct mirror (#9904)
back port #9812, #9878, #9881, #9884 --------- Co-authored-by: Livio Spring <livio.a@gmail.com> Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
This commit is contained in:
@@ -23,7 +23,8 @@ type Migration struct {
|
||||
Source database.Config
|
||||
Destination database.Config
|
||||
|
||||
EventBulkSize uint32
|
||||
EventBulkSize uint32
|
||||
MaxAuthRequestAge time.Duration
|
||||
|
||||
Log *logging.Config
|
||||
Machine *id.Config
|
||||
@@ -59,6 +60,14 @@ func mustNewProjectionsConfig(v *viper.Viper) *ProjectionsConfig {
|
||||
|
||||
id.Configure(config.Machine)
|
||||
|
||||
config.Projections.MaxFailureCount = 1
|
||||
for key, customization := range config.Projections.Customizations {
|
||||
if customization.MaxFailureCount == nil {
|
||||
continue
|
||||
}
|
||||
*config.Projections.Customizations[key].MaxFailureCount = 1
|
||||
}
|
||||
|
||||
return config
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user