mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
increase default connection timeout
This commit is contained in:
parent
56a1025e51
commit
bb3f7595f7
5 changed files with 5 additions and 5 deletions
|
|
@ -135,7 +135,7 @@ class Page
|
|||
public function update(
|
||||
bool $history = true,
|
||||
int $refresh = 100,
|
||||
int $timeout = 5
|
||||
int $timeout = 15
|
||||
): void
|
||||
{
|
||||
// Update title
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ interface Connection
|
|||
|
||||
public function request(
|
||||
string $request,
|
||||
int $timeout = 5
|
||||
int $timeout = 15
|
||||
): void;
|
||||
|
||||
public function isCompleted(): bool;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class Connection extends \Yggverse\Yoda\Abstract\Model\Connection
|
|||
{
|
||||
public function request(
|
||||
string $request,
|
||||
int $timeout = 5
|
||||
int $timeout = 15
|
||||
): void
|
||||
{
|
||||
// Build address instance
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class Gemini
|
|||
|
||||
public function request(
|
||||
Address $address,
|
||||
int $timeout = 5
|
||||
int $timeout = 15
|
||||
): void
|
||||
{
|
||||
$request = new Request(
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class Nex
|
|||
// @TODO
|
||||
public function request(
|
||||
Address $address,
|
||||
int $timeout = 5
|
||||
int $timeout = 15
|
||||
): void
|
||||
{
|
||||
$response = (new \Yggverse\Nex\Client)->request(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue