mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-14 16:18:02 -05:00
build
This commit is contained in:
@@ -27956,6 +27956,7 @@ async function improveCommitMessagesWithRebase(commits) {
|
||||
ce(`error in Promise.all(getCommitDiffs(SHAs)): ${error}`);
|
||||
throw error;
|
||||
});
|
||||
ce("Sleeping for 1s");
|
||||
await sleep(1e3);
|
||||
}
|
||||
return improvedMessagesBySha2;
|
||||
|
||||
@@ -94,6 +94,7 @@ async function improveCommitMessagesWithRebase(commits: CommitsArray) {
|
||||
});
|
||||
|
||||
// openAI errors with 429 code (too many requests) so lets sleep a bit
|
||||
outro('Sleeping for 1s');
|
||||
await sleep(1000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user