This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: prod config

+5 -11
+5 -11
src/libs/config.ts
··· 2 2 3 3 export const TakesConfig = { 4 4 // Default takes session length in minutes (should be 90 for production) 5 - DEFAULT_SESSION_LENGTH: 5, 5 + DEFAULT_SESSION_LENGTH: 90, 6 6 7 7 // Maximum time in minutes that a takes session can be paused before automatic expiration 8 - MAX_PAUSE_DURATION: 3, 8 + MAX_PAUSE_DURATION: 45, 9 9 10 10 // Maximum number of past takes to display in history 11 - MAX_HISTORY_ITEMS: 5, 11 + MAX_HISTORY_ITEMS: 7, 12 12 13 13 // Time thresholds for notifications (in minutes) 14 14 NOTIFICATIONS: { 15 15 // When to send a warning about low time remaining (minutes) 16 - LOW_TIME_WARNING: 2, 16 + LOW_TIME_WARNING: 5, 17 17 18 18 // When to send a warning about pause expiration (minutes) 19 19 PAUSE_EXPIRATION_WARNING: 5, 20 20 21 21 // Frequency to check for notifications (milliseconds) 22 - CHECK_INTERVAL: 5 * 1000, // Every minute 23 - }, 24 - 25 - // Modal settings 26 - MODAL: { 27 - // Maximum length for take description 28 - MAX_DESCRIPTION_LENGTH: 100, 22 + CHECK_INTERVAL: 10 * 1000, // Every 10 seconds 29 23 }, 30 24 }; 31 25