File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ const mutations = {
150
150
151
151
const actions = {
152
152
async filters ( { state } ) {
153
- state . playlists = await ky . get ( '/api/playlist' ) . json ( )
154
- state . filterOpts = await ky . get ( '/api/scene/filters' ) . json ( )
153
+ state . playlists = await ky . get ( '/api/playlist' , { timeout : 300000 } ) . json ( )
154
+ state . filterOpts = await ky . get ( '/api/scene/filters' , { timeout : 300000 } ) . json ( )
155
155
156
156
// Reverse list of release months for display purposes
157
157
state . filterOpts . release_month = state . filterOpts . release_month . reverse ( )
Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ export default {
578
578
},
579
579
async fetchFilters () {
580
580
this .filteredAttributes = [' Loading attributes' ]
581
- ky .get (' /api/scene/filters' ).json ().then (data => {
581
+ ky .get (' /api/scene/filters' , {timeout : 300000 } ).json ().then (data => {
582
582
this .filteredAttributes = data .attributes
583
583
})
584
584
}
You can’t perform that action at this time.
0 commit comments