[deploy] Optimization: Remove followed_user_ids from Async User Data Hash (#8837)
This commit is contained in:
parent
e260f86e69
commit
b16606e613
2 changed files with 0 additions and 43 deletions
|
|
@ -58,7 +58,6 @@ class AsyncInfoController < ApplicationController
|
|||
username: @user.username,
|
||||
profile_image_90: ProfileImage.new(@user).get(width: 90),
|
||||
followed_tags: @user.cached_followed_tags.to_json(only: %i[id name bg_color_hex text_color_hex hotness_score], methods: [:points]),
|
||||
followed_user_ids: @user.cached_following_users_ids,
|
||||
followed_podcast_ids: @user.cached_following_podcasts_ids,
|
||||
reading_list_ids: ReadingList.new(@user).cached_ids_of_articles,
|
||||
blocked_user_ids: @user.all_blocking.pluck(:blocked_id),
|
||||
|
|
|
|||
|
|
@ -40,48 +40,6 @@ describe('Chat utilities', () => {
|
|||
'/uploads/user/profile_image/41/0841dbe2-208c-4daa-b498-b2f01f3d37b2.png',
|
||||
followed_tag_names: [],
|
||||
followed_tags: '[]',
|
||||
followed_user_ids: [
|
||||
2,
|
||||
31,
|
||||
7,
|
||||
38,
|
||||
22,
|
||||
37,
|
||||
14,
|
||||
26,
|
||||
20,
|
||||
24,
|
||||
11,
|
||||
27,
|
||||
29,
|
||||
3,
|
||||
6,
|
||||
28,
|
||||
4,
|
||||
39,
|
||||
8,
|
||||
40,
|
||||
25,
|
||||
30,
|
||||
35,
|
||||
34,
|
||||
5,
|
||||
12,
|
||||
33,
|
||||
36,
|
||||
21,
|
||||
18,
|
||||
23,
|
||||
1,
|
||||
32,
|
||||
19,
|
||||
15,
|
||||
13,
|
||||
16,
|
||||
9,
|
||||
10,
|
||||
17,
|
||||
],
|
||||
reading_list_ids: [48, 49, 34, 51, 64, 56],
|
||||
saw_onboarding: true,
|
||||
checked_code_of_conduct: false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue