Configurações do site continuam mudando

Uma coisa estranha. Ao atualizar a página de configurações, às vezes obtenho valores diferentes para as configurações.

Verifiquei no console do Rails que os valores não estão realmente mudando no banco de dados, mas obtenho resultados inconsistentes na interface.

Obviamente, há algum tipo de cache acontecendo em algum lugar, mas pensei em ver se alguém já encontrou isso antes.

Como sempre, qualquer ajuda será muito apreciada :+1:

4 curtidas

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

4 curtidas

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!

1 curtida