foreign-sapphire
foreign-sapphire3y ago

How can i change request timeout to 10 seconds instead of 30 seconds

No description
3 Replies
foreign-sapphire
foreign-sapphireOP3y ago
^^
future-harlequin
future-harlequin3y ago
Hi @CTK WARRIOR, you can specify the option navigationTimeoutSecs in the crawler options. For example:
const crawler = new CheerioCrawler({
...
navigationTimeoutSecs: 10,
});
const crawler = new CheerioCrawler({
...
navigationTimeoutSecs: 10,
});
foreign-sapphire
foreign-sapphireOP3y ago
oh thanks

Did you find this page helpful?