Skip to content

Commit

Permalink
chore: tuning configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardo2016x committed Nov 27, 2024
1 parent 6a3bbf3 commit b0c056b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/mobile/src/screens/Dapps/hooks/useDappView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ export type OpenedDappItem = {
};
const DAPPS_VIEW_LIMIT = {
maxCount: 3,
expireDuration: 86400 * 1e3 * 3,
// 30days
expireDuration: 3 * 86400 * 1e3,
};
const DAPPS_VIEW_LIMIT_SHORT = {
maxCount: 3,
expireDuration: 600 * 1e3,
// 20mins
expireDuration: 20 * 60 * 1e3,
};
const dappsViewConfigAtom = atom({
maxCount: DAPPS_VIEW_LIMIT.maxCount,
Expand Down

0 comments on commit b0c056b

Please sign in to comment.