Skip to content

Commit f578a5c

Browse files
committed
cache for one day
1 parent 2f05cfa commit f578a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/databases/remote_databases/salesforce/salesforce.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use super::sandbox::structured_query::{StructuredQuery, Validator};
3333

3434
pub const MAX_QUERY_RESULT_ROWS: usize = 25_000;
3535
pub const GET_SESSION_MAX_TRIES: usize = 3;
36-
pub const REDIS_CACHE_TTL_SECONDS: u64 = 60 * 60; // 1 hour
36+
pub const REDIS_CACHE_TTL_SECONDS: u64 = 60 * 60 * 24; // 1 day
3737

3838
pub struct SalesforceRemoteDatabase {
3939
client: reqwest::Client,

0 commit comments

Comments
 (0)