-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation of collection and stored procedure upon every instantiation? #23
Comments
Hi @deyanp, currently it is not possible, but it happens only when you instantiate EventStore, which should happen only once per application. It is necessary to be sure that collection & stored procedure exist (in correct version). |
Hi @Dzoukr, I intend to use this in Azure Function (serverless), and even though the function is kept around for some time, it will be also very often the case that a new instance of the function is created on regular basis. Any startup code or IO is going to have an impact ... |
Hm... I didn't think about that in that way (serverless)... I'll keep it here for tracking and try to involve it in next version. |
Fixed in v2.1.0 |
Thanks a lot, @Dzoukr!!! |
Is it possible to skip the collection/stored procedure check/creation? Sounds like at least 2 roundtrips which are not needed for subsequent calls, or am I missing something?
The text was updated successfully, but these errors were encountered: