Interesting find, thank you for looking into it.
It’s hard to tell when such an intermittent problem goes away. I have removed that line on the three instances that hung the most often (one of them almost daily). I will check back in here either:
- when one of those instances hangs (we then know that this did not do the trick)
- on Friday if none of them hung (we can then start assuming it was the solution)
Nope, didn’t mess with that.
But someone did…
Rails.autoloaders.main.do_not_eager_load(config.root.join("lib"))
at Blaming discourse/config/application.rb at main · discourse/discourse · GitHub