I think it is typical for timing issues: they depend on environment (hardware, software, internet connection speed).
Particularly, I am using not a low-end 1Gb Digital Ocean droplet, but a dedicated Hetzner EX41-SSD server.
Also I have some plugins installed (the same set in the both test cases described above).
So the problem is: «how to make my server slower?». Interestingly, this question leads to another ugly solution: try to run a computationally intensive task in parallel with ./launcher rebuild. It may help somebody ![]()
But the true solution would be to implement timeouts in the Discourse update script or/and in the Discourse’s virtual machine.