build limit problem

Failed: build exceeded the time limit and was terminated. Refer to https://developers.cloudflare.com/pages/platform/limits/#builds for build limits I added webhook but how to avoid the termination after 20 min
Cloudflare Docs
Limits · Cloudflare Pages docs
Below are limits observed by the Cloudflare Free plan. For more details on removing these limits, refer to the Cloudflare plans page.
17 Replies
Hello, I’m Allie!
Either speed up your builds, or use another CI to build your site
Avinash_ff
Avinash_ff9mo ago
@HardlyWorkin' I created a bot in cloudfare it run smoothly that and all no problem but it stops every 20 minutes and again redeploying
Hello, I’m Allie!
What kind of bot?
Avinash_ff
Avinash_ff9mo ago
@HardlyWorkin' a kind of music + management + auto filter bot in telegram
Hello, I’m Allie!
The build container isn't meant to run stuff, it is just meant to build your Pages app So it timing out after 20 minutes is expected behavior
Avinash_ff
Avinash_ff9mo ago
@HardlyWorkin' that's ok but whenever It time out and redeploy my bot stops and again restarting Is it possible to redeploy without the bot stopping
Hello, I’m Allie!
Just to be clear, is the bot running in the build container, or is it written in Functions? Because you should be able to deploy a Telegram bot to Functions, and then you wouldn't have to worry about the build timing out
Avinash_ff
Avinash_ff9mo ago
@HardlyWorkin' I think I would have done in build only @HardlyWorkin' will you please permit me to DM you
Hello, I’m Allie!
What do you need?
Avinash_ff
Avinash_ff9mo ago
@HardlyWorkin' I want my bot to run without stopping even when the server redeploy
Hello, I’m Allie!
Then Pages isn't the right place to host it, at least unless you rewrite it
Avinash_ff
Avinash_ff9mo ago
@HardlyWorkin' can you please tell me how to rewrite it
Avinash_ff
Avinash_ff9mo ago
@HardlyWorkin' Failed: build exceeded the time limit and was terminated. Refer to https://developers.cloudflare.com/pages/platform/limits/#builds for build limits Like this coming
Cloudflare Docs
Limits · Cloudflare Pages docs
Below are limits observed by the Cloudflare Free plan. For more details on removing these limits, refer to the Cloudflare plans page.
Cyb3r-Jak3
Cyb3r-Jak39mo ago
GitHub
GitHub - cvzi/telegram-bot-cloudflare: A minimal example of a Teleg...
A minimal example of a Telegram Bot on Cloudflare Workers - cvzi/telegram-bot-cloudflare
Walshy
Walshy9mo ago
Pages builds are not a server They are meant for builds not hosting.
Avinash_ff
Avinash_ff9mo ago
@Cyb3r-Jok3 but I'm deploying a different bot like music + management+auto filter like.. But I had deployed my bot in pages only and also deploy hook so it automatically redeploy but whenever redeploy starts my bot also restarting so it has been shut off during redeploy every 20 minutes . I want redeploy without the bot shutdown
Walshy
Walshy9mo ago
again, Pages builds is not a hosting platform Pages is for hosting sites, not bots. If you try to work around the limits in place, you will likely have your account blocked. Pay for a VPS.
Want results from more Discord servers?
Add your server