added environment variable for expire time
This commit is contained in:
parent
fa1f0208a4
commit
4cb040d70d
6 changed files with 12 additions and 5 deletions
|
@ -41,6 +41,11 @@ const conf = convict({
|
|||
format: Number,
|
||||
default: 1024 * 1024 * 1024 * 2,
|
||||
env: 'P2P_MAX_FILE_SIZE'
|
||||
},
|
||||
expire_seconds: {
|
||||
format: Number,
|
||||
default: 86400,
|
||||
env: 'EXPIRE_SECONDS'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue