2
0

ref(install): Remove manual eventstream backfill (#318)

This became obsolete thanks to getsentry/sentry#16226
This commit is contained in:
Burak Yigit Kaya 2020-01-03 23:28:43 +03:00 committed by GitHub
parent 1d33ae6b04
commit 753683d3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,13 +155,6 @@ if [ "$SENTRY_DATA_NEEDS_MIGRATION" ]; then
"mkdir -p /tmp/files; mv /data/* /tmp/files/; mv /tmp/files /data/files" "mkdir -p /tmp/files; mv /data/* /tmp/files/; mv /tmp/files /data/files"
fi fi
set -o allexport
source .env
set +o allexport
echo "Migrating old events for the last $SENTRY_EVENT_RETENTION_DAYS days..."
$dcr web django backfill_eventstream --no-input --last-days $SENTRY_EVENT_RETENTION_DAYS
echo ""
cleanup cleanup
echo "" echo ""