#cli taking a long time to run commands

8 messages · Page 1 of 1 (latest)

pale dagger
#

Just recently within the past week, my cli commands are taking much much longer. I am on the newest cli version: 10.8.1. "amplify push" takes up to 40 minutes, with barely anything logged to the console window. Even the "amplify status" command takes about 4-5 minutes to complete. Before the past week, I would expect the push command to take about 5-8 minutes, and status command would only take about 5-10 seconds. I am on Windows with 64 GB of RAM and a 16 core i7 @ 3.80 GHz. Has anyone else noticed this issue on the newer versions of the cli?

sterile fable
#

Hey 👋 although I'm not on Windows and your machine has more than enough resources, I have not experienced this. How was the CLI installed? (npm/curl/manual download)

pale dagger
#

npm

#

I tried to uninstall and reinstall today, but not much has changed

sterile fable
#

Hmm, out of curiosity how many resources are in your project? And are you using a GraphQL API with @searchable?

pale dagger
#

59 models, 4 of them @searchable , 3 custom queries and 4 custom mutations. 16 functions. I also use auth, storage, geo and hosting.

#

The issue is close to the same time that I added about 10 functions

#

They are small so I would not think that would cause things like amplify status to run so much slowers