You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have ~30 people in my friend list. On my homepage they appear nearly instantly after the initial page load. ohmypod needs several seconds to show the list. Additionally the whole list breaks (shows nothing) if one friend URL fails to load (e.g. 404 or expired TLS certificate).
The problem is, that ohmypod does not parallelize requests. You are doing an await inside a for await loop. I am doing it like this, which might inspire you (while I am not saying mixing async/await style with promise.then is a good idea from code style perspective)
The text was updated successfully, but these errors were encountered:
I have ~30 people in my friend list. On my homepage they appear nearly instantly after the initial page load. ohmypod needs several seconds to show the list. Additionally the whole list breaks (shows nothing) if one friend URL fails to load (e.g. 404 or expired TLS certificate).
The problem is, that ohmypod does not parallelize requests. You are doing an
await
inside afor await
loop. I am doing it like this, which might inspire you (while I am not saying mixing async/await style with promise.then is a good idea from code style perspective)The text was updated successfully, but these errors were encountered: