mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Allow to configure the minimum package age
This commit is contained in:
parent
5c3c3399d9
commit
13892efa70
8 changed files with 449 additions and 3 deletions
7
packages/safe-chain/src/config/environmentVariables.js
Normal file
7
packages/safe-chain/src/config/environmentVariables.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* Gets the minimum package age in hours from environment variable
|
||||
* @returns {string | undefined}
|
||||
*/
|
||||
export function getMinimumPackageAgeHours() {
|
||||
return process.env.AIKIDO_MINIMUM_PACKAGE_AGE_HOURS;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue