Site Settings keep changing

Strange one this. Upon refreshing the settings page, I sometimes get different values for settings.

I’ve checked in the rails console that the values aren’t actually changing in the DB, but I get inconsistent results in the UI.

There’s obviously some kind of caching going on somewhere, but I thought I’d see if anyone’s come across this before.

As always, any help would be greatly appreciated :+1:

4 Likes

Try restarting the app container (./launcher restart app). Looks like one of your Unicorn workers is out of sync.

4 Likes

Ahh. The client I’m working for actually runs Discourse on AWS with an ELB. I’m suspecting that could be the cause of this issue.

I realise it’s not a supported setup here, but any insight into how the settings are being cached across processes would be great. If anyone has any ideas on how to fix, even better!

2 Likes