diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-02-22 01:23:16 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-02-22 01:23:58 +0100 |
commit | d482ec32a47a57b16e15b64eac12015707c0607d (patch) | |
tree | a497a1eb0dbdc17f6e9ab4dedacc600fe757e5a8 | |
parent | Merge pull request #9834 from german77/reverted (diff) | |
download | yuzu-d482ec32a47a57b16e15b64eac12015707c0607d.tar yuzu-d482ec32a47a57b16e15b64eac12015707c0607d.tar.gz yuzu-d482ec32a47a57b16e15b64eac12015707c0607d.tar.bz2 yuzu-d482ec32a47a57b16e15b64eac12015707c0607d.tar.lz yuzu-d482ec32a47a57b16e15b64eac12015707c0607d.tar.xz yuzu-d482ec32a47a57b16e15b64eac12015707c0607d.tar.zst yuzu-d482ec32a47a57b16e15b64eac12015707c0607d.zip |
-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 de0c307d4..29cec7acd 100644 --- a/src/yuzu/discord_impl.cpp +++ b/src/yuzu/discord_impl.cpp @@ -75,6 +75,8 @@ void DiscordImpl::Update() { // New Check for game cover httplib::Client cli(game_cover_url); + cli.set_connection_timeout(std::chrono::seconds(3)); + cli.set_read_timeout(std::chrono::seconds(3)); if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name).c_str())) { if (res->status == 200) { |