Skip to content

Commit

Permalink
Merge pull request #270 from carbonin/remove_application_init_delay
Browse files Browse the repository at this point in the history
Remove 15 second sleep from startup time
  • Loading branch information
bdunne authored Feb 20, 2018
2 parents 9af86b4 + 58a0b56 commit e0773ca
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# Source OpenShift scripting env
[[ -s ${CONTAINER_SCRIPTS_ROOT}/container-deploy-common.sh ]] && source "${CONTAINER_SCRIPTS_ROOT}/container-deploy-common.sh"

# Delay in seconds before we init, allows rest of services to settle
sleep "${APPLICATION_INIT_DELAY}"

write_v2_key

write_guid
Expand Down
7 changes: 0 additions & 7 deletions templates/miq-template-ext-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,6 @@ objects:
secretKeyRef:
name: "${NAME}-secrets"
key: admin-password
- name: APPLICATION_INIT_DELAY
value: "${APPLICATION_INIT_DELAY}"
- name: GUID
value: "${GUID}"
- name: DATABASE_REGION
Expand Down Expand Up @@ -708,11 +706,6 @@ parameters:
displayName: Application Hostname
description: The exposed hostname that will route to the application service, if left blank a value will be defaulted.
value: ''
- name: APPLICATION_INIT_DELAY
displayName: Application Init Delay
required: true
description: Delay in seconds before we attempt to initialize the application.
value: '15'
- name: HTTPD_SERVICE_NAME
required: true
displayName: Apache httpd Service Name
Expand Down
7 changes: 0 additions & 7 deletions templates/miq-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,6 @@ objects:
secretKeyRef:
name: "${NAME}-secrets"
key: admin-password
- name: APPLICATION_INIT_DELAY
value: "${APPLICATION_INIT_DELAY}"
- name: GUID
value: "${GUID}"
- name: DATABASE_REGION
Expand Down Expand Up @@ -874,11 +872,6 @@ parameters:
displayName: Application Hostname
description: The exposed hostname that will route to the application service, if left blank a value will be defaulted.
value: ''
- name: APPLICATION_INIT_DELAY
displayName: Application Init Delay
required: true
description: Delay in seconds before we attempt to initialize the application.
value: '15'
- name: DATABASE_VOLUME_CAPACITY
displayName: Database Volume Capacity
required: true
Expand Down

0 comments on commit e0773ca

Please sign in to comment.