Paid Workers Denial of wallet

Hey, when using workers, I can already make a limit on the CPU Runtime to make sure long-running workers don't result in higher than expected bills. Is there also a way to prevent too many invocations from a bad actor? Can I somehow limit that the worker should be able to run X times a day max? Because I know the worker I wrote will should not be called like 10 million times per day and I would love to limit it to only X invocations per day with perhaps a warning at 80% of X request being reached.
1 Reply
Cyb3r-Jak3
Cyb3r-Jak38mo ago
You can setup a rate limiting rule in front of your worker to help prevent this type of attacks
Want results from more Discord servers?
Add your server