UNPKG

@sync-in/server

Version:

The secure, open-source platform for file storage, sharing, collaboration, and sync

32 lines (31 loc) 965 B
/* * Copyright (C) 2012-2025 Johan Legrand <johan.legrand@sync-in.com> * This file is part of Sync-in | The open source file sync and share solution * See the LICENSE file for licensing details */ // cache quota key = `(quota-user|quota-space)-${id}` => number "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function _export(target, all) { for(var name in all)Object.defineProperty(target, name, { enumerable: true, get: Object.getOwnPropertyDescriptor(all, name).get }); } _export(exports, { get CACHE_QUOTA_SPACE_PREFIX () { return CACHE_QUOTA_SPACE_PREFIX; }, get CACHE_QUOTA_TTL () { return CACHE_QUOTA_TTL; }, get CACHE_QUOTA_USER_PREFIX () { return CACHE_QUOTA_USER_PREFIX; } }); const CACHE_QUOTA_USER_PREFIX = 'quota-user'; const CACHE_QUOTA_SPACE_PREFIX = 'quota-space'; const CACHE_QUOTA_TTL = 86400 // 1 day ; //# sourceMappingURL=cache.js.map