Light builds taking days vs. minutes after upgrading

Lighting builds used to take about 10 - 20 minutes under UE4 version 17, and now they are taking a day to a week (per level) to build in version 25. What is happening, and how do I fix it?

I already found and fixed the swarm server not being in standalone mode (clicked on the swarm server icon and set standalone to true, per a prior post), and that seems to help, but light builds are still taking about a day, even in preview mode.

The issue seems to have resolved itself after the epic games launcher was updated. That doesn’t quite make sense, but I am glad it is working now! If you encounter this problem, making sure everything is up to date (including the Epic launcher), and then rebooting may help.