I’m working on this plugin that does Discourse rebuilds. It’s pretty darn close. The thing that’s bugging me now is that I have a status page that gives updates as things happen in the upgrade. But it takes a long time and (I think) eventually the message bus times out because there’s no activity on the page. If the user navigates away and back to the page it works fine.
Is there a way to fix this? Maybe put something in the page that will do a reload every 5 minutes or something like that?
So MessageBus should keep updating a page forever, even if the browser is idle? What does REQUEST_QUEUE_SECONDS do? (Oh, it’s only if the server is flooded?)
But . . . it looks like maybe my problem had to do with something getting pushed to MessageBus that shouldn’t have. WIth Rails, Ember, and Ansible all at play, it’s hard for me to know who to blame.
Hmm. No. I think I just didn’t understand at all what my problem was. From the beginning I was sure that it just stopped listening at some point, but I was wrong. Thanks very much. I really appreciate it.