Skip to content

Commit

Permalink
chore: duration 57
Browse files Browse the repository at this point in the history
  • Loading branch information
am6010 committed Aug 22, 2024
1 parent c383473 commit a1c78a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def read_records(
self._advance_cursor()

expires_at = self._api.api.get_access_token_expiration()
if expires_at and pendulum.from_timestamp(expires_at) - pendulum.now() < pendulum.duration(days=47):
if expires_at and pendulum.from_timestamp(expires_at) - pendulum.now() < pendulum.duration(days=57):
self.logger.error(f"Access token expires at {pendulum.from_timestamp(expires_at)}. Please reconnect the source.")

@property
Expand Down

0 comments on commit a1c78a8

Please sign in to comment.