Arno Kaimbacher
296c8fd46e
Some checks failed
CI Pipeline / japa-tests (push) Failing after 1m13s
- renamed middleware Role and Can to role_middleware and can_middleware - added some typing for inertia vue3 components - npm updates
19 lines
433 B
TypeScript
19 lines
433 B
TypeScript
import env from '#start/env';
|
|
|
|
interface OaiConfig {
|
|
max: { listidentifiers: number; listrecords: number };
|
|
workspacePath: string;
|
|
redis: { ttl: number };
|
|
}
|
|
const config: OaiConfig = {
|
|
max: {
|
|
listidentifiers: env.get('OAI_LIST_SIZE', 100),
|
|
listrecords: env.get('OAI_LIST_SIZE', 100),
|
|
},
|
|
workspacePath: 'workspace',
|
|
redis: {
|
|
ttl: 86400, //sec 1 day
|
|
},
|
|
};
|
|
export default config;
|