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
Looking at our logs, I'm seeing an abnormal number of calls for getUserUrls - 380 calls for a single user. I'd recommend caching the result for a user, the result of that call is unlikely to ever change.
In server/controllers/notes.js have notebooks() and randomNote() functions accept a noteStoreUrl param - pass that into calls to client.getNoteStore(noteStoreUrl) (here and here)
If req.session.noteStoreUrl exists use it and pass it to those functions - otherwise call a function to obtain it, store it in the session
Per Evernote API team:
getUserUrls
evernote doc: http://dev.evernote.com/doc/reference/UserStore.html#Fn_UserStore_getUserUrlsThe text was updated successfully, but these errors were encountered: