Skip to content

Commit

Permalink
chore(settings): set the default queries timeout to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Oct 2, 2022
1 parent f35b006 commit 1ac400c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/store/reducers/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import {
HomeDisplayOptions,
HomeView,
QueryTimeout,
Settings,
VideosSeniority,
ViewFilters,
Expand All @@ -15,7 +16,9 @@ export const defaultSettings = {
apiKey: REACT_APP_YOUTUBE_API_KEY || '',
darkMode: false,
autoPlayVideos: true,
enableNotifications: true,
recentVideosSeniority: VideosSeniority.OneDay,
queryTimeout: QueryTimeout.ThirtySeconds,
recentViewFilters: {
seen: true,
watchLater: true,
Expand Down Expand Up @@ -50,8 +53,6 @@ export const defaultSettings = {
hiddenViews: [HomeView.Bookmarks],
extraVideoActions: [],
},
enableNotifications: true,
queryTimeout: 10000,
};

const views = Object.values(HomeView);
Expand Down

0 comments on commit 1ac400c

Please sign in to comment.