At the moment, the pylti1p3 library requests a new access token each time a ServiceConnector object is made. We make a new ServiceConnector object each time we do anything with the assignments and grades service.
The ServiceConnector should store access tokens in the django cache, and use the expires_in property of the returned object to expire it. (spec)
This is causing us to be rate-limited when reporting scores back.
At the moment, the pylti1p3 library requests a new access token each time a ServiceConnector object is made. We make a new ServiceConnector object each time we do anything with the assignments and grades service.
The ServiceConnector should store access tokens in the django cache, and use the
expires_in
property of the returned object to expire it. (spec)This is causing us to be rate-limited when reporting scores back.