Queueing and batching media HTTP requests for improved reliability.

This commit is contained in:
2020-02-22 03:22:30 +01:00
parent b2dfbac9e5
commit 349a5a506e
15 changed files with 251 additions and 78 deletions

View File

@@ -16,7 +16,7 @@ import FilterBar from '../header/filter-bar.vue';
import Releases from '../releases/releases.vue';
async function fetchReleases() {
this.releases = await this.$store.dispatch('fetchReleases', { limit: 100 });
this.releases = await this.$store.dispatch('fetchReleases', { limit: 250 });
this.$store.commit('setCache', {
target: 'home',
releases: this.releases,

View File

@@ -76,10 +76,13 @@ function initNetworksActions(store, _router) {
{
date: {
lessThan: $before,
greaterThan: $after,
greaterThan: $after
}
},
{
date: {
isNull: true
},
createdAt: {
lessThan: $beforeTime,
greaterThan: $afterTime,