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
get_or_create_user_profile_from_slack_ids currently goes to Slack for data upon every request. Instead it should memoize or cache the results so that at most it goes back only once per request at most - and maybe even less.
Ideas
get the user out of the db and only check slack if the update_at is older than some cutoff
The text was updated successfully, but these errors were encountered:
get_or_create_user_profile_from_slack_ids
currently goes to Slack for data upon every request. Instead it should memoize or cache the results so that at most it goes back only once per request at most - and maybe even less.Ideas
The text was updated successfully, but these errors were encountered: