mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: Do not calculate gaps for TopicViewPostsSerializer.
The client doesn't use the gaps results when loading new posts.
This commit is contained in:
@@ -22,5 +22,6 @@ RSpec.describe TopicViewPostsSerializer do
|
||||
expect(posts.first["id"]).to eq(post.id)
|
||||
expect(body["post_stream"]["stream"]).to eq(nil)
|
||||
expect(body["post_stream"]["timeline_lookup"]).to eq(nil)
|
||||
expect(body["post_stream"]["gaps"]).to eq(nil)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user