max_image_size_kb keeps resetting to 0


(Carlo Kok) #1

Using yesterdays HEAD the max_attachment_size_kb and max_image_size_kb keep resetting to 0. If i type say 2048 in them, save, press f5, they become 0.

If I change them in the DB & Restart Discourse it works fine.


(Régis Hanol) #2

I just tried on try and it’s working as expected. Can you try updating to latest? Also, do you see any logs in the log section?


(Carlo Kok) #3

Thanks, works in latest, now gives:

[ck] ck
change site setting
max_attachment_size_kb
< 1m
New: 2096
Previous: 4096

before it was:

[ck] ck
change site setting
max_image_size_kb
5h
Previous: 0
[ck] ck
change site setting
max_attachment_size_kb
5h
Previous: 0
[ck] ck
change site setting
max_image_size_kb
5h
Previous: 0


(Jeff Atwood) #4