a fun bot for the hc slack
1// Configuration defaults and constants for the takes application
2
3export const TakesConfig = {
4 // Default takes session length in minutes (should be 90 for production)
5 DEFAULT_SESSION_LENGTH: 90,
6
7 // Maximum time in minutes that a takes session can be paused before automatic expiration
8 MAX_PAUSE_DURATION: 45,
9
10 // Maximum number of past takes to display in history
11 MAX_HISTORY_ITEMS: 7,
12
13 // Time thresholds for notifications (in minutes)
14 NOTIFICATIONS: {
15 // When to send a warning about low time remaining (minutes)
16 LOW_TIME_WARNING: 5,
17
18 // When to send a warning about pause expiration (minutes)
19 PAUSE_EXPIRATION_WARNING: 5,
20
21 // Frequency to check for notifications (milliseconds)
22 CHECK_INTERVAL: 10 * 1000, // Every 10 seconds
23 },
24};
25
26export default TakesConfig;