downgrade max size
This commit is contained in:
parent
1a0f5db509
commit
dc38b481cb
|
|
@ -15,7 +15,7 @@ import { checkIpRanges } from '@/utils/ranges';
|
||||||
const app = new Elysia()
|
const app = new Elysia()
|
||||||
const videoIds: Record<string, string> = {}
|
const videoIds: Record<string, string> = {}
|
||||||
|
|
||||||
const MB_LIMIT = 350
|
const MB_LIMIT = 250
|
||||||
const saveKey = (videoId: string) => `save:${videoId}`
|
const saveKey = (videoId: string) => `save:${videoId}`
|
||||||
|
|
||||||
const checkMbLimit = async (hash: string, mb?: number): Promise<boolean> => {
|
const checkMbLimit = async (hash: string, mb?: number): Promise<boolean> => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue