this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Change intervals

+2 -2
+2 -2
src/utils/states.js
··· 205 205 let prevStatus = states.statuses[key]; 206 206 if (!prevStatus) { 207 207 if (fetchIndex++ > 3) throw 'Too many fetches for thread'; // Some people revive old threads 208 - await new Promise((r) => setTimeout(r, 300 * fetchIndex)); // Be nice to rate limits 208 + await new Promise((r) => setTimeout(r, 500 * fetchIndex)); // Be nice to rate limits 209 209 // prevStatus = await masto.v1.statuses.$.select(inReplyToId).fetch(); 210 210 prevStatus = await fetchStatus(inReplyToId, masto); 211 211 saveStatus(prevStatus, instance, { skipThreading: true }); ··· 227 227 console.error(e, status); 228 228 }); 229 229 } 230 - export const threadifyStatus = rateLimit(_threadifyStatus, 300); 230 + export const threadifyStatus = rateLimit(_threadifyStatus, 100); 231 231 232 232 const fetchStatus = pmem((statusID, masto) => { 233 233 return masto.v1.statuses.$select(statusID).fetch();