Skip to content

Commit

Permalink
fix: add 5s timeout back into API
Browse files Browse the repository at this point in the history
  • Loading branch information
bencromwell committed Feb 9, 2024
1 parent 290e4d4 commit 559452e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/KatapultWhmcs.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public static function getKatapult(): KatapultApiClient
$clientFactory = new ClientFactory(KatapultWhmcs::getApiV1Key());
$clientFactory->setHttpClient(new Client([
'handler' => self::createApiV1HandlerStack(),
'timeout' => 5.0,
]));
self::$katapult = $clientFactory->create();
}
Expand Down

0 comments on commit 559452e

Please sign in to comment.