Skip to content

Commit 18eb3b1

Browse files
bonigarciadiemol
andauthored
[rust] Change default TTL_drivers from 86400s (1 day) to 3600s (1 hour) (#12394)
[rust] Change default TTL_drivers from 86400s(1 day) to 3600s (1 hour) Co-authored-by: Diego Molina <[email protected]>
1 parent 0013140 commit 18eb3b1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rust/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Options:
4040
--timeout <TIMEOUT>
4141
Timeout for network requests (in seconds) [default: 180]
4242
--driver-ttl <DRIVER_TTL>
43-
Driver TTL (time-to-live) [default: 86400]
43+
Driver TTL (time-to-live) [default: 3600]
4444
--browser-ttl <BROWSER_TTL>
4545
Browser TTL (time-to-live) [default: 0]
4646
--clear-cache

rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub const ENV_PROCESSOR_ARCHITECTURE: &str = "PROCESSOR_ARCHITECTURE";
8383
pub const WHERE_COMMAND: &str = "where {}";
8484
pub const WHICH_COMMAND: &str = "which {}";
8585
pub const TTL_BROWSERS_SEC: u64 = 0;
86-
pub const TTL_DRIVERS_SEC: u64 = 86400;
86+
pub const TTL_DRIVERS_SEC: u64 = 3600;
8787
pub const UNAME_COMMAND: &str = "uname -{}";
8888
pub const CRLF: &str = "\r\n";
8989
pub const LF: &str = "\n";

0 commit comments

Comments
 (0)