diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/discord_impl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/discord_impl.cpp b/src/yuzu/discord_impl.cpp index 978ffef33..ac2fc1bcb 100644 --- a/src/yuzu/discord_impl.cpp +++ b/src/yuzu/discord_impl.cpp | |||
| @@ -75,6 +75,8 @@ void DiscordImpl::Update() { | |||
| 75 | 75 | ||
| 76 | // New Check for game cover | 76 | // New Check for game cover |
| 77 | httplib::Client cli(game_cover_url); | 77 | httplib::Client cli(game_cover_url); |
| 78 | cli.set_connection_timeout(std::chrono::seconds(3)); | ||
| 79 | cli.set_read_timeout(std::chrono::seconds(3)); | ||
| 78 | 80 | ||
| 79 | if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name))) { | 81 | if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name))) { |
| 80 | if (res->status == 200) { | 82 | if (res->status == 200) { |