VoltanFr / memcheck

4 stars 1 forks source link

Add timeout to all Axios calls #105

Open VoltanFr opened 3 years ago

VoltanFr commented 3 years ago

The problem of never ending Axios calls specially shows itself in the learning page: while there the Axios calls are asynchronous, they sometimes hang (this is visible in the debug info, where I saw some currentMovePromise remaining null during several minutes). My big difficulty here is the choice of the timeout, without knowing the user's network perf. The same operation which takes 0.1 second on my home network takes several seconds when I'm on the subway. Maybe we could choose a timeout which increases with retries?

VoltanFr commented 2 years ago

See adaptative sleep time between retries in #232

VoltanFr commented 1 year ago

Relates to #180