Tighten startup behavior defaults
This commit is contained in:
parent
9da416dbe4
commit
d1d81fd478
|
|
@ -1,9 +1,12 @@
|
|||
package at.procon.ted.startup;
|
||||
|
||||
import at.procon.dip.runtime.condition.ConditionalOnRuntimeMode;
|
||||
import at.procon.dip.runtime.config.RuntimeMode;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.ApplicationArguments;
|
||||
import org.springframework.boot.ApplicationRunner;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
import org.springframework.core.annotation.Order;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
|
@ -19,6 +22,7 @@ import org.springframework.stereotype.Component;
|
|||
@Component
|
||||
@Order(1) // Run before other startup runners
|
||||
@RequiredArgsConstructor
|
||||
@ConditionalOnRuntimeMode(RuntimeMode.LEGACY)
|
||||
@Slf4j
|
||||
public class OrganizationSchemaFixRunner implements ApplicationRunner {
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ dip:
|
|||
max-chunks-per-document: 12
|
||||
# Startup backfill limit for missing lexical vectors
|
||||
startup-lexical-backfill-limit: 500
|
||||
scheduled-lexical-backfill-enabled: true
|
||||
scheduled-lexical-backfill-enabled: false
|
||||
scheduled-lexical-backfill-delay-ms: 30000
|
||||
scheduled-lexical-backfill-batch-size: 200
|
||||
# Number of top hits per engine returned by /search/debug
|
||||
|
|
@ -333,8 +333,8 @@ dip:
|
|||
leitstand:
|
||||
enabled: false
|
||||
startup-sync-enabled: false
|
||||
startup-selective-materialization-enabled: true
|
||||
selective-materialization-person-dbk: 100920031023144811001000
|
||||
startup-selective-materialization-enabled: false
|
||||
selective-materialization-person-dbk: #100920031023144811001000
|
||||
selective-materialization-person-number:
|
||||
selective-materialization-build-projection: true
|
||||
create-canonical-time-entries: true
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ spring:
|
|||
order_updates: true
|
||||
|
||||
flyway:
|
||||
enabled: true
|
||||
enabled: false
|
||||
locations: classpath:db/migration
|
||||
baseline-on-migrate: true
|
||||
create-schemas: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue