Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: increase seed timeout in demo mode (#914)
Danny Xud354cc7f18ed
diff --git a/scripts/demo.sh b/scripts/demo.shindex 74c9e581a5..14d5aee30a 100644--- a/scripts/demo.sh+++ b/scripts/demo.sh@@ -28,17 +28,19 @@ function seedDemoData(){bytebase --host ${ONLINE_DEMO_HOST} --port ${ONLINE_DEMO_PORT} --demo --data /var/opt/bytebase &- until [ -d /var/opt/bytebase/pgdata/ ]+ until [ -f /var/opt/bytebase/pgdata/PG_VERSION ]doecho "waiting..."sleep 1done- echo 'Sleep 60 seconds for bytebase to finish migration...'- sleep 60+ echo 'Sleep 120 seconds for bytebase to finish migration...'+ sleep 120echo 'Killing seeding program'- ps | grep 'bytebase' | grep -v grep | xargs kill -9+ killall bytebase++ sleep 20}function startReadonly(){