Improving pinned topic excerpts

I noticed that there was a SiteSetting.post_excerpt_maxlength setting. Which I assume is this:

I was hoping to change the length of a pinned topic/post excerpt. Upon digging into the code, I noticed this:

https://github.com/discourse/discourse/blob/44e58fa3668a2e8f939286094d2b7c415d5d685e/app/models/post.rb
image

It appears 220 is being used for a (pinned) topic excerpt.

I was wondering what the SiteSetting.post_excerpt_maxlength setting did, and if the pinned topic excerpt length can be made into a setting?

6 Likes