fix: update retry fetch time to 1 min
This commit is contained in:
@ -34,7 +34,7 @@ export async function task() {
|
|||||||
stakingKeypair.secretKey,
|
stakingKeypair.secretKey,
|
||||||
);
|
);
|
||||||
|
|
||||||
const retryDelay = 10000; // 10 seconds in milliseconds
|
const retryDelay = 60000; // 1 minute in milliseconds
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
requiredWorkResponse = await fetch(`${middleServerUrl}/summarizer/worker/fetch-todo`, {
|
requiredWorkResponse = await fetch(`${middleServerUrl}/summarizer/worker/fetch-todo`, {
|
||||||
|
Reference in New Issue
Block a user