Open yarikoptic opened 1 year ago
It can definitely be optimized, but as a low hanging fruit we could change https://github.com/sensein/etelemetry-client/blob/546f6ad780c09de0e3258b07085c223883bdb6ac/etelemetry/client.py#L27
to use separate timeouts for connect/read, perhaps something like (0.5, 5)
noted that
dandi
client is too slow, thought that it would be some added recent imports. nope:so it took 5 seconds to silently timeout while checking for updates. I feel like we should add such checks to happen out of band - e.g. that function to start a thread which would be joined/waited at the end of the process (
atexit
) or smth like that.