Browse Source

increase default connection timeout

PHP-GTK3
yggverse 4 months ago
parent
commit
bb3f7595f7
  1. 2
      src/Entity/Browser/Container/Page.php
  2. 2
      src/Interface/Model/Connection.php
  3. 2
      src/Model/Connection.php
  4. 2
      src/Model/Connection/Gemini.php
  5. 2
      src/Model/Connection/Nex.php

2
src/Entity/Browser/Container/Page.php

@ -135,7 +135,7 @@ class Page
public function update( public function update(
bool $history = true, bool $history = true,
int $refresh = 100, int $refresh = 100,
int $timeout = 5 int $timeout = 15
): void ): void
{ {
// Update title // Update title

2
src/Interface/Model/Connection.php

@ -18,7 +18,7 @@ interface Connection
public function request( public function request(
string $request, string $request,
int $timeout = 5 int $timeout = 15
): void; ): void;
public function isCompleted(): bool; public function isCompleted(): bool;

2
src/Model/Connection.php

@ -15,7 +15,7 @@ class Connection extends \Yggverse\Yoda\Abstract\Model\Connection
{ {
public function request( public function request(
string $request, string $request,
int $timeout = 5 int $timeout = 15
): void ): void
{ {
// Build address instance // Build address instance

2
src/Model/Connection/Gemini.php

@ -23,7 +23,7 @@ class Gemini
public function request( public function request(
Address $address, Address $address,
int $timeout = 5 int $timeout = 15
): void ): void
{ {
$request = new Request( $request = new Request(

2
src/Model/Connection/Nex.php

@ -23,7 +23,7 @@ class Nex
// @TODO // @TODO
public function request( public function request(
Address $address, Address $address,
int $timeout = 5 int $timeout = 15
): void ): void
{ {
$response = (new \Yggverse\Nex\Client)->request( $response = (new \Yggverse\Nex\Client)->request(

Loading…
Cancel
Save