refresh_if_expired: refresh_if_expired

View source: R/athena_connection.R

refresh_if_expiredR Documentation

refresh_if_expired

Description

Refreshes an athena connection to the AP only if the credentials have expired.

Usage

refresh_if_expired(conn, window = 5 * 60)

Arguments

conn

This is the connection which has expired, but will be refreshed.

window

The number of seconds in advance of expiry that a refresh will still happen (default 5 mins).


moj-analytical-services/Rdbtools documentation built on June 22, 2024, 8:46 p.m.