Rework chache handling

* No longer provide multiple HTTP helper functions with the same name
* Default to cache not being used
* Explicitly use the cache for certain Twitch actions and conditions
* Clear caches on shutdown to avoid leaks being reported
This commit is contained in:
WarmUpTill
2025-03-13 19:29:26 +01:00
committed by WarmUpTill
parent d670b6d07e
commit 34e125f82d
5 changed files with 95 additions and 61 deletions

View File

@@ -136,7 +136,7 @@ TwitchPointsRewardSelection::GetPointsRewards(
auto response = SendGetRequest(*token, "https://api.twitch.tv",
"/helix/channel_points/custom_rewards",
params);
params, true);
if (response.status != 200) {
blog(LOG_WARNING,