Not sure why I'm being charged compute credits
I received this message from Neon: "Branch compute hours limit approaching. Your personal account has used 80% (4 hours) of the free plan's 5 non-default branch compute hours limit. You'll find a detailed usage breakdown in the Neon console. The total number of compute hours used by non-default branches: 4 / 5 h"
I am surprised by this number. My project has been active for just a few days. I have only deployed <5 changes to my database schema, and I have just 1 user, used for de minimus testing.
Can you explain what the root cause of the branch compute is? I'm afraid that there is an error or bug that is causing branch compute consumption unintentionally.
Thank you very much.
-Ryan
3 Replies
correct-apricot•2mo ago
Hey Ryan,
Please check your Settings > Compute. Make sure scale-to-zero is enabled if you don't care about cold starts. Also, adjust your CPUs as needed. You can find your current CPU usage in the monitoring dashbord. If you're never using more than 0.1 CPU for instance, you can save a ton of CPU time by scaling down the min CPU. Neon will automatically scale between min and max. If you're min is too high, then you pay for CPU that you're not actively using.
Hope this helps!
other-emeraldOP•2mo ago
Thank you very much, Andre. I made the changes that you suggested. If there are further issues, I will let you know.
correct-apricot•2mo ago
Ping me anytime! 🙂