mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
refactor(access_token): handle network delays with expiry of access token (#4617)
This commit is contained in:
@ -118,6 +118,8 @@ pub const POLL_ID_TTL: i64 = 900;
|
||||
pub const DEFAULT_POLL_DELAY_IN_SECS: i8 = 2;
|
||||
pub const DEFAULT_POLL_FREQUENCY: i8 = 5;
|
||||
|
||||
// Number of seconds to subtract from access token expiry
|
||||
pub(crate) const REDUCE_ACCESS_TOKEN_EXPIRY_TIME: u8 = 15;
|
||||
pub const CONNECTOR_CREDS_TOKEN_TTL: i64 = 900;
|
||||
|
||||
//max_amount allowed is 999999999 in minor units
|
||||
|
||||
Reference in New Issue
Block a user