Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit402436b

Browse files
authored
fix: Scene filters request timeout (#1805) (#1806)
* fix: Added timeout to scenes/Filters get request (#1805)* fix: Added timeout to scenes/Filters get request (#1805)
1 parent037a1b4 commit402436b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎ui/src/store/sceneList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ const mutations = {
150150

151151
constactions={
152152
asyncfilters({ state}){
153-
state.playlists=awaitky.get('/api/playlist').json()
154-
state.filterOpts=awaitky.get('/api/scene/filters').json()
153+
state.playlists=awaitky.get('/api/playlist',{timeout:300000}).json()
154+
state.filterOpts=awaitky.get('/api/scene/filters',{timeout:300000}).json()
155155

156156
// Reverse list of release months for display purposes
157157
state.filterOpts.release_month=state.filterOpts.release_month.reverse()

‎ui/src/views/scenes/Filters.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ export default {
578578
},
579579
asyncfetchFilters() {
580580
this.filteredAttributes=['Loading attributes']
581-
ky.get('/api/scene/filters').json().then(data=> {
581+
ky.get('/api/scene/filters', {timeout:300000}).json().then(data=> {
582582
this.filteredAttributes=data.attributes
583583
})
584584
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp