Skip to content

Commit

Permalink
refactor: increase max storage size to 1GB
Browse files Browse the repository at this point in the history
  • Loading branch information
hudy9x committed Apr 4, 2024
1 parent 639d50e commit 04ce20b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/be-gateway/src/services/storage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import IncorrectConfigurationException from "../exceptions/IncorrectConfiguratio
import { fileStorageModel } from "packages/shared-models/src/lib/_prisma"
import { findNDelCaches } from "../lib/redis"

export const MAX_STORAGE_SIZE = 100 * 1024 * 1024 // 100Mb
const mb = 1024 * 1024
export const MAX_STORAGE_SIZE = 1024 * mb // 1Gb
export class StorageService {
protected orgId: string
constructor(orgId: string) {
Expand Down

0 comments on commit 04ce20b

Please sign in to comment.