oghunt icon indicating copy to clipboard operation
oghunt copied to clipboard

Too much slop on the api

Open Hacksore opened this issue 5 months ago • 0 comments

I think we are getting to the point where the gql api endpoint is eating all the quota to return all the slopped apps on PH.

tl;dr the crazy rate limiting is causing us to not be able to pull all the daily launches...

we'd need to figure out some smart optimizations to make it more efficient or batched over time in smaller chunks. Perhaps this is a good use for vercel workflows.

Product Hunt API Rate Limit: { limit: '6250', remaining: '6250', resetIn: '900 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '6150', resetIn: '900 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '6050', resetIn: '899 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5950', resetIn: '898 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5850', resetIn: '897 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5750', resetIn: '897 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5650', resetIn: '897 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5550', resetIn: '896 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5450', resetIn: '896 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5350', resetIn: '896 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5250', resetIn: '895 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5150', resetIn: '895 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '5050', resetIn: '895 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4950', resetIn: '894 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4850', resetIn: '894 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4750', resetIn: '893 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4650', resetIn: '893 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4550', resetIn: '892 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4450', resetIn: '892 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4350', resetIn: '892 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4250', resetIn: '891 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4150', resetIn: '890 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '4050', resetIn: '890 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3950', resetIn: '889 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3850', resetIn: '889 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3750', resetIn: '889 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3650', resetIn: '889 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3550', resetIn: '888 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3450', resetIn: '888 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3350', resetIn: '887 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3250', resetIn: '887 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3150', resetIn: '886 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '3050', resetIn: '886 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2950', resetIn: '886 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2850', resetIn: '885 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2750', resetIn: '885 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2650', resetIn: '884 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2550', resetIn: '883 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2450', resetIn: '883 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2350', resetIn: '882 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2250', resetIn: '882 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2150', resetIn: '881 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '2050', resetIn: '881 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1950', resetIn: '881 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1850', resetIn: '881 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1750', resetIn: '880 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1650', resetIn: '880 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1550', resetIn: '879 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1450', resetIn: '879 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1350', resetIn: '879 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1250', resetIn: '878 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1150', resetIn: '878 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '1050', resetIn: '878 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '950', resetIn: '877 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '850', resetIn: '877 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '750', resetIn: '877 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '650', resetIn: '876 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '550', resetIn: '876 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '450', resetIn: '876 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '350', resetIn: '875 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '250', resetIn: '875 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '150', resetIn: '875 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '50', resetIn: '875 seconds' }
Product Hunt API Rate Limit: { limit: '6250', remaining: '-50', resetIn: '874 seconds' }
No data received from API
TypeError: Cannot read properties of undefined (reading 'pageInfo')
    at h (.next/server/app/api/update-vote-count/route.js:33:697)
    at async B (.next/server/app/api/ingest-posts/route.js:11:3240)
    at async k (.next/server/app/api/ingest-posts/route.js:11:7334)
    at async g (.next/server/app/api/ingest-posts/route.js:11:8337)
    at async H (.next/server/app/api/ingest-posts/route.js:11:9459)

Hacksore avatar Jun 17 '26 01:06 Hacksore