mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(roles): Add caching for custom roles (#3946)
This commit is contained in:
@ -78,6 +78,8 @@ pub const EMAIL_TOKEN_TIME_IN_SECS: u64 = 60 * 60 * 24; // 1 day
|
||||
#[cfg(feature = "email")]
|
||||
pub const EMAIL_TOKEN_BLACKLIST_PREFIX: &str = "BET_";
|
||||
|
||||
pub const ROLE_CACHE_PREFIX: &str = "CR_";
|
||||
|
||||
#[cfg(feature = "olap")]
|
||||
pub const VERIFY_CONNECTOR_ID_PREFIX: &str = "conn_verify";
|
||||
#[cfg(feature = "olap")]
|
||||
|
||||
Reference in New Issue
Block a user