open-cogsci/opensesame-extension-osf

OSF extension block OpenSesame startup when offline

dschreij opened this issue · 0 comments

When the extension tries to get the latest OSF credentials from cogsci and there is no Internet, it retries multiple times to reconnect, and waits a certain time between attempts. request-oauthlib does this synchronously, so it blocks any other process while it is trying to connect. This results in very long startup times for OpenSesame.
It is imperative to change this to a asynchronous method of connecting so OpenSesame can continue starting up.