Skip to content

Commit bddfb74

Browse files
committed
fix linting errors, increase timeout
1 parent 75b8252 commit bddfb74

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

dist/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77
const core = __nccwpck_require__(7484);
88

99
// Rate limiting and retry constants
10-
const RATE_LIMIT_DELAY = 1500; // milliseconds between requests (increased to 1.5s)
10+
const RATE_LIMIT_DELAY = 3000; // milliseconds between requests (increased to 3s to avoid rate limiting)
1111
const MAX_RETRIES = 3;
1212
const RETRY_DELAY = 2000; // 2 second base delay for retries
13-
const BATCH_SIZE = 5; // Process 5 flags at a time (not used in sequential processing)
14-
const BATCH_DELAY = 2000; // 2 second delay between batches (not used in sequential processing)
1513

1614
/**
1715
* Sleep utility function

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
const core = require('@actions/core');
22

33
// Rate limiting and retry constants
4-
const RATE_LIMIT_DELAY = 1500; // milliseconds between requests (increased to 1.5s)
4+
const RATE_LIMIT_DELAY = 3000; // milliseconds between requests (increased to 3s to avoid rate limiting)
55
const MAX_RETRIES = 3;
66
const RETRY_DELAY = 2000; // 2 second base delay for retries
7-
const BATCH_SIZE = 5; // Process 5 flags at a time (not used in sequential processing)
8-
const BATCH_DELAY = 2000; // 2 second delay between batches (not used in sequential processing)
97

108
/**
119
* Sleep utility function

0 commit comments

Comments
 (0)