mirror of
https://github.com/calli-eve/eve-pi.git
synced 2026-02-12 02:38:48 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ce238c9c7 |
@@ -78,7 +78,7 @@ const Home = () => {
|
||||
};
|
||||
|
||||
const refreshSession = async (characters: AccessToken[]) => {
|
||||
return processInBatches(characters, 5, async (c) => {
|
||||
return processInBatches(characters, 50, async (c) => {
|
||||
try {
|
||||
return await refreshToken(c);
|
||||
} catch {
|
||||
@@ -120,7 +120,7 @@ const Home = () => {
|
||||
const initializeCharacterPlanets = (
|
||||
characters: AccessToken[],
|
||||
): Promise<AccessToken[]> =>
|
||||
processInBatches(characters, 3, async (c) => {
|
||||
processInBatches(characters, 50, async (c) => {
|
||||
if (c.needsLogin || c.character === undefined)
|
||||
return { ...c, planets: [] };
|
||||
const planets = await getPlanets(c);
|
||||
|
||||
Reference in New Issue
Block a user