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.
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.