Skip to content

Commit

Permalink
Update token generation script to use a five minute timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgolec committed Sep 12, 2024
1 parent eb985d3 commit 308b4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/schwab-generate-token.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def main(api_key, app_secret, callback_url, token_path, requested_browser):
try:
schwab.auth.client_from_login_flow(
api_key, app_secret, callback_url, token_path,
requested_browser=requested_browser, callback_timeout=1)
requested_browser=requested_browser, callback_timeout=300)
return 0
except:
print('Failed to fetch a token using a web browser, falling back to '
Expand Down

0 comments on commit 308b4e2

Please sign in to comment.