vhs / raffle

Raffle Bot to run raffles on VHS forums
1 stars 3 forks source link

perf: Cache user fetches #14

Open TyIsI opened 1 month ago

TyIsI commented 1 month ago

Cache user fetches. Currently runs slow as it calls each user for each item, could be sped up with a single decorator. Why haven’t I done this yet. - Cached what I could. Calls to API further are in unsupported land of bypassing discourse lib and using unlisted API calls to backend.

Originally posted by @robmackenzie in https://github.com/vhs/raffle/issues/3#issuecomment-1622624283

TyIsI commented 1 month ago

@robmackenzie we'll need to prioritize this. Currently running into API rate-limits