Skip to content

Commit

Permalink
increase api timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanashi committed Sep 27, 2024
1 parent d1169e6 commit b0b88ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion files/lib/system/discord/DiscordApi.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3467,7 +3467,7 @@ final protected function getHttpClient(): ClientInterface
{
if (!$this->httpClient) {
$this->httpClient = HttpFactory::makeClient([
RequestOptions::TIMEOUT => 2,
RequestOptions::TIMEOUT => 10,
]);
}

Expand Down
6 changes: 3 additions & 3 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<packagename language="de">Discord-API</packagename>
<packagedescription>API to cummincate with Discord.</packagedescription>
<packagedescription language="de">API um mit Discord zu kommunizieren.</packagedescription>
<version>2.6.5</version>
<date>2024-08-13</date>
<version>2.6.6</version>
<date>2024-09-27</date>
<license>https://creativecommons.org/publicdomain/zero/1.0/deed.en</license>
</packageinformation>
<authorinformation>
Expand All @@ -31,7 +31,7 @@
<instruction type="option"/>
<instruction type="database">acp/database/install_dev.hanashi.wsc.discord-api.php</instruction>
</instructions>
<instructions type="update" fromversion="2.6.4">
<instructions type="update" fromversion="2.6.5">
<instruction type="file"/>
</instructions>
</package>

0 comments on commit b0b88ff

Please sign in to comment.