Closed
Description
Describe the bug
Functions to create and delete ES indexes do not close the ES client connection:
- create_collection_index
- create_item_index
- delete_item_index
App outputs error messages to alert about this issue.
This issue occurs debugging in Windows and running in AWS Lambda. When this backend runs in AWS Lambda, create_collection_index
is always invoked when starting the app, is this a severe issue?
To Reproduce
Steps to reproduce the behavior:
- Start app
- Invoke
create_collection_index
- End app
- See error
Expected behavior
ES index managment functions should close the client connections.
Metadata
Metadata
Assignees
Labels
No labels