Last step of deploying occasionally takes 2-3 minutes
Hello,
I've been messing with cloudflare pages for a while, and i've noticed that usually the last step (
Deploying to Cloudflare's global network
) takes ~5 seconds.
Recently with one of my sites, I've been noticing its been taking 2-3 minutes. Looking at the logs, it appears it fails and has to retry multiple times.
Here is the relevant logs:
https://pastebin.com/raw/jPVv14sa (this one took 1m 49s, but ive seen them up to 3 minutes before)
This isnt a massive deal as it does get there in the end, but it is annoying. Any idea what might be wrong?3 Replies
My entire app (once built) is 6mb and 40 files, so i dont think it would be a file size or count issue
@ajgeiss0702 love your plugins
you can try to split the deployment into smaller chunks to reduce the load on the API. You can do this by adding a delay between deployments or by deploying only a subset of the files at a time. You can also try reducing the number of files being deployed by excluding any unnecessary files.
not sure if this is help for or not
i generally only make a deployment about once a day, so I dont think I would be loading the API too much. Also as previously mentioned, my entire app is only 6mb and 40 files (and every file is <1mb)
(im glad you like my plugins 🙂 )