ZachHandleyOriginal post
Moderator
Running 1.5.7, deploying a Bun function, it's building fine, though the CLI deploys like 3 at a time for some reason -- I've been redeploying it, which has fixed it, but now I'm getting frustrated because it's not fixing it lol. It's not a complex function, it handles OAuth2 providers for me. It just keeps deploying 2 versions of it no matter what I do. It's also my only function.
Summary
Issue: Appwrite CLI is deploying multiple versions of a single function, causing internal curl errors and cold timeouts.
Solution: This issue can be resolved by ensuring the CLI is updated to the latest version. If redeploying the function does not fix the problem, check the Appwrite documentation for any known bugs related to deploying functions. Additionally, try clearing any cached requests and verifying the function's configuration settings to prevent multiple instances from being deployed simultaneously.