Skip to content
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

[Scalabrese] Added client_session_keep_alive = True to Snowflake #360

Merged
merged 2 commits into from
Apr 13, 2024

Conversation

scalabreseGD
Copy link
Contributor

If Vanna is running on a microservice (for example FastAPI) it can happen that the service is not running for more than 4 hours so Snowflake Token expires.

This happens when the app runs "connect_to_snowflake" at the application startup.

I would suggest to make the connection always active until the service is running otherwise the service will fail.

@zainhoda zainhoda merged commit bec5f66 into vanna-ai:main Apr 13, 2024
@scalabreseGD scalabreseGD deleted the add-client_session_keep_alive branch April 14, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants