diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-02-22 02:39:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 02:39:19 +0100 |
commit | 8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958 (patch) | |
tree | a7b5890fc80015f49b83ac9edd20837a53e4f102 /src | |
parent | Merge pull request #9846 from merryhime/type-const (diff) | |
parent | yuzu: Set a lower timeout for discord presence (diff) | |
download | yuzu-8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958.tar yuzu-8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958.tar.gz yuzu-8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958.tar.bz2 yuzu-8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958.tar.lz yuzu-8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958.tar.xz yuzu-8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958.tar.zst yuzu-8f3e2a1b48a4f83c90a3b8bf10dd1dc661a69958.zip |
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() { // 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))) { if (res->status == 200) { |