Update storage.service.ts
This commit is contained in:
parent
cdb15a17e4
commit
71e92ede01
@ -8,7 +8,7 @@ export class StorageService {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
const uri: string = process.env[`STORAGE_URI`];
|
const uri: string = process.env[`STORAGE_URI`];
|
||||||
const ttl: number = parseInt(process.env[`STORAGE_TTL`] ?? 2592000, 10); // 30 days as default
|
const ttl: number = parseInt(process.env[`STORAGE_TTL`], 10);
|
||||||
if (!uri) {
|
if (!uri) {
|
||||||
this.logger.warn(
|
this.logger.warn(
|
||||||
`STORAGE_URI is undefined, will use non persistant in memory storage`,
|
`STORAGE_URI is undefined, will use non persistant in memory storage`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user