Try 10k endpoints

This commit is contained in:
Sam Carlton 2021-01-22 23:15:39 -06:00
parent 1f5f47eab4
commit 4a042699c1

View file

@ -55,28 +55,28 @@ class BuildLists {
path: '/static/video-list.json', path: '/static/video-list.json',
buildMethod: async () => { buildMethod: async () => {
return await buildVideoList( this.getAllVideoAppsList() ) // return await buildVideoList( this.getAllVideoAppsList() )
// const videoList = await buildVideoList( this.getAllVideoAppsList() ) const videoList = await buildVideoList( this.getAllVideoAppsList() )
// const extraVideos = [] const extraVideos = []
// const multiplier = 12 const multiplier = 12
// for (let i = 0; i < multiplier; i++) { for (let i = 0; i < multiplier; i++) {
// videoList.forEach( video => { videoList.forEach( video => {
// extraVideos.push({ extraVideos.push({
// ...video, ...video,
// slug: video.slug + '-' + i, slug: video.slug + '-' + i,
// }) })
// }) })
// } }
// return new Set([ return new Set([
// ...videoList, ...videoList,
// ...extraVideos ...extraVideos
// ].slice(0, 10 * 1000)) ].slice(0, 10 * 1000))
}, },
} }
] ]