Snowflake-Labs / django-snowflake

MIT License
59 stars 15 forks source link

Document how to use persistent connections #78

Closed timgraham closed 6 months ago

timgraham commented 7 months ago

Fixes #74

eddyojb88 commented 7 months ago

Hi @timgraham will this also solve issues like the token authentication token expiration issue?

I am having an issue with my django connection expiring after 4 hours.

timgraham commented 7 months ago

I'm not a Snowflake expert, but according to https://community.snowflake.com/s/article/Authentication-token-has-expired-The-user-must-authenticate-again, setting client_session_keep_alive might be the solution. Let me know if it works.

eddyojb88 commented 6 months ago

Yes I think this works thank you.

On Tue, 5 Dec 2023, 18:52 Tim Graham, @.***> wrote:

I'm not a Snowflake expert, but according to https://community.snowflake.com/s/article/Authentication-token-has-expired-The-user-must-authenticate-again, setting client_session_keep_alive might be the solution. Let me know if it works.

— Reply to this email directly, view it on GitHub https://github.com/Snowflake-Labs/django-snowflake/pull/78#issuecomment-1841426481, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIQGII73UKRAWQRESB4DI3YH5UQNAVCNFSM6AAAAABAGWR7S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRGQZDMNBYGE . You are receiving this because you commented.Message ID: @.***>