We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6121210 commit 5a6f50eCopy full SHA for 5a6f50e
packages/indexWaiter/index_waiter.py
@@ -57,6 +57,7 @@ def handler(event, context):
57
time.sleep(10)
58
except Exception as exc:
59
logger.error("Error creating or waiting for index", extra={"error": str(exc)})
60
+ return {"PhysicalResourceId": f"{collection_name}/{index_name}", "Data": {"Status": "READY"}}
61
62
logger.error("Timeout waiting for index readiness", extra={"collection": collection_name, "index": index_name})
63
raise Exception(f"Collection {collection_name} / Index {index_name} not ready after timeout")
0 commit comments