Skip to content

Commit 79b4dd0

Browse files
committed
Remove IS_CRON_RUNNING and don't call collectors from migrate task.
Cron will always be running in another container.
1 parent dda6df1 commit 79b4dd0

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

spryker/usr/local/share/env/30-framework

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ export YVES_SESSION_COOKIE_SECURE
3636
ZED_SESSION_COOKIE_SECURE="$(convert_to_boolean_string "${ZED_SESSION_COOKIE_SECURE:-true}")"
3737
export ZED_SESSION_COOKIE_SECURE
3838

39-
IS_CRON_RUNNING="$(convert_to_boolean_string "${IS_CRON_RUNNING:-true}")"
40-
export IS_CRON_RUNNING
41-
4239
export APP_ENDPOINT_STRICT=${APP_ENDPOINT_STRICT:-true}
4340

4441
export APP_SERVICES=${APP_SERVICES:-yves zed}

spryker/usr/local/share/spryker/spryker_functions.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ do_spryker_install() {
126126

127127
do_spryker_migrate() {
128128
do_spryker_propel_install
129-
130-
if [ "$IS_CRON_RUNNING" != "true" ]; then
131-
do_spryker_run_collectors
132-
fi
133129
}
134130

135131
do_spryker_run_collectors() {

0 commit comments

Comments
 (0)