Skip to content

Commit c723877

Browse files
committed
improvement(org): space Home's mail refreshes further apart
1 parent 69b68a6 commit c723877

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/hooks/queries/organization-home.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import { organizationAccountsKeys } from '@/hooks/queries/utils/organization-accounts-keys'
1010

1111
/** Each read costs a request per thread at the member's mail provider, so focus re-reads are spaced. */
12-
const EMAIL_STALE_TIME = 2 * 60 * 1000
12+
const EMAIL_STALE_TIME = 5 * 60 * 1000
1313
/** A day's meetings change less often than a mailbox, and every day browsed is its own read. */
1414
const CALENDAR_STALE_TIME = 5 * 60 * 1000
1515
/** A run's state moves quickly, but no one is waiting on it to the second. */

0 commit comments

Comments
 (0)