Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4846561

Browse files
[1.1.0-SNAPSHOT]
Key removed
1 parent 3bc479d commit 4846561

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

‎.github/workflows/gradle.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ jobs:
2626

2727
- name: Build with Gradle
2828
run: ./gradlew build jacocoTestReport
29-
env:
30-
API_KEY: ${{ secrets.API_KEY }}
3129

3230
- name: Analyze with SonarQube
3331
run: ./gradlew sonarqube
3432
env:
3533
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3634
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
37-
API_KEY: ${{ secrets.API_KEY }}

‎src/main/java/io/api/etherscan/manager/impl/QueueManager.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ public QueueManager(int size, int resetInSec) {
2323
this(size, resetInSec, resetInSec);
2424
}
2525

26-
public QueueManager(int size, int resetInSec, int delayInSec) {
26+
public QueueManager(int size, int queueResetTimeInSec, int delayInSec) {
2727
this.semaphore = new Semaphore(size);
2828
Executors.newSingleThreadScheduledExecutor()
29-
.scheduleAtFixedRate(releaseLocks(size), delayInSec, resetInSec, TimeUnit.SECONDS);
29+
.scheduleAtFixedRate(releaseLocks(size), delayInSec, queueResetTimeInSec, TimeUnit.SECONDS);
3030
}
3131

3232
@Override

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /