Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Dec 24, 2024
1 parent 7e8b7a0 commit 397b68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/artemis/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const PM = new ProcessManager.QueryProcessManager<string, Record<string,
return result;
} catch (e: any) {
throttleTime = Date.now();
if (e.message.startsWith('Request timeout') || e.code === 429) {
if (e.message.startsWith('Request timeout') || e.statusCode === 429) {
// request timeout: just ignore this. error on their end not ours.
// 429: too many requests, we already freeze for 10s above so. not much more we can do
return null;
Expand Down

0 comments on commit 397b68c

Please sign in to comment.