Skip to content

Commit

Permalink
Update token generation script to use a five minute timeout (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgolec authored Sep 12, 2024
1 parent eb985d3 commit 727f3ba
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 727f3ba

Please sign in to comment.