Decrease default crawl delay a little bit
This commit is contained in:
parent
504be33b8a
commit
d1bbb91477
|
@ -32,8 +32,8 @@ use tokio::time::Instant;
|
|||
pub const MAX_CRAWL_DELAY_BEFORE_BACKOFF: Duration = Duration::from_secs(61);
|
||||
|
||||
/// Most sites request a crawl delay of 10 sec or less.
|
||||
/// If unspecified, let's go with a reasonable-sounding number of 15 secs.
|
||||
pub const DEFAULT_CRAWL_DELAY: Duration = Duration::from_secs(15);
|
||||
/// If unspecified, let's go with a reasonable-sounding number of 10 secs.
|
||||
pub const DEFAULT_CRAWL_DELAY: Duration = Duration::from_secs(10);
|
||||
|
||||
enum NextAction {
|
||||
Continue,
|
||||
|
|
Loading…
Reference in New Issue