monkeytype/backend/constants/base-configuration.ts
Bruce Berrios 4999fd4bf5
Add Redis client and george task queue (#2765) bruception
* Add Redis client and george task queue

* Add queue configuration

* Change dual write
2022-03-25 13:13:54 +01:00

34 lines
810 B
TypeScript

/**
* This is the base schema for the configuration of the API backend.
* To add a new configuration. Simply add it to this object.
* When changing this template, please follow the principle of "Secure by default" (https://en.wikipedia.org/wiki/Secure_by_default).
*/
const BASE_CONFIGURATION: MonkeyTypes.Configuration = {
maintenance: false,
quoteReport: {
enabled: false,
maxReports: 0,
contentReportLimit: 0,
},
quoteSubmit: {
enabled: false,
},
resultObjectHashCheck: {
enabled: false,
},
apeKeys: {
endpointsEnabled: false,
acceptKeys: false,
maxKeysPerUser: 0,
apeKeyBytes: 24,
apeKeySaltRounds: 5,
},
enableSavingResults: {
enabled: false,
},
useRedisForBotTasks: {
enabled: false,
},
};
export default BASE_CONFIGURATION;