You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Endorsing this recommendation 100%. Recently had my site become unavailable because the qencode API server was offline - every request that had to load the library would time out, though no API calls were required.
Instantiating the class with the key always reaches out to the API, even if it is never needed. This can add unwanted overhead.
I'd recommend not getting the API token until executing a task that requires it. That way there is no "cost" for instantiating it and never using it.
The text was updated successfully, but these errors were encountered: