Skip to content

“bin/magento setup:upgrade” taking too long time to complete

I have 2 different servers and same magento243 setup in both servers.
In one server setup:upgrade is completed quickly, but in another server it takes about 15 minutes to complete upgrade command.

Server : Nginx
Php : 7.4
Magento Version : 2.4.3

Anyone have idea what actually problem is?