open-cogsci / opensesame-extension-osf

Open Science Framework module for OpenSesame3
Other
4 stars 1 forks source link

OSF extension block OpenSesame startup when offline #14

Open dschreij opened 7 years ago

dschreij commented 7 years ago

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.