Skip to content

Commit

Permalink
fix(CrawlService): Increase timeout
Browse files Browse the repository at this point in the history
to account for servers on bad internet

ref #2191

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Jul 8, 2024
1 parent f6cfa16 commit b6e9f99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Service/CrawlService.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@

class CrawlService {
public const MAX_BODY_LENGTH = 92160000; // 90 MB
public const TIMEOUT = 10;
public const CONNECT_TIMEOUT = 10;
public const READ_TIMEOUT = 10;
public const TIMEOUT = 60;
public const CONNECT_TIMEOUT = 30;
public const READ_TIMEOUT = 30;
public const UA_FIREFOX = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0';

private MimeTypes $mimey;
Expand Down

0 comments on commit b6e9f99

Please sign in to comment.