I’m working on an import that’s going live on Monday on a Discourse.org hosted site. There are some attachments bigger than 102400KB. Is there a way to increase that limit on the development environment so that I can include them?
2 Likes
I’ll give that a shot, but what I think I’m asking is if there’s a a way to increase get_max_attachment_size
.
Oooh! But it looks like that’s what I needed.
Looks like another feature that should get moved to base.rb
.
1 Like
Glad I could help.
And feel free to create a PR
1 Like
I’ll add it to the list. I’m waiting for my last one (add users with invalid email addresses by pfaffman · Pull Request #5224 · discourse/discourse · GitHub) to get pulled in. If someone (other than rubocop) doesn’t like it, I’ll split it up.
4 Likes
Just merged it and made happy.
2 Likes
Many thanks! I’ve jumped on the bandwagon now and have emacs key bindings in place to check and fix the current buffer with rubocop.
2 Likes