1
0
Fork 0
mirror of synced 2024-09-09 22:16:26 +12:00

Comment update.

This commit is contained in:
mike12345567 2024-06-04 17:24:56 +01:00
parent cf6f86cb2f
commit f735f8c6f5

View file

@ -37,6 +37,8 @@ const migration = async () => {
// at the end make sure design doc is ready
await sdk.tables.sqs.syncDefinition()
// only do initial search if environment is using SQS already
// initial search makes sure that all the indexes have been created
// and are ready to use, avoiding any initial waits for large tables
if (env.SQS_SEARCH_ENABLE) {
const tables = await sdk.tables.getAllInternalTables()
// do these one by one - running in parallel could cause problems