Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1764] fix(client): Fix timeout time unit for unregister requests #1766

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

EnricoMi
Copy link
Contributor

@EnricoMi EnricoMi commented Jun 4, 2024

What changes were proposed in this pull request?

Method ThreadUtils.executeTasks expects milliseconds, but seconds are given.

Why are the changes needed?

Requests are interrupted before the configured timeout passes.

Fix: #1764

Does this PR introduce any user-facing change?

Configured timeout is respected.

How was this patch tested?

Manually tested.

@EnricoMi EnricoMi added this to the 0.9.0 milestone Jun 4, 2024
@EnricoMi EnricoMi requested review from zuston and lifeSo June 4, 2024 08:21
Copy link
Member

@zuston zuston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Nice catch!

@rickyma
Copy link
Contributor

rickyma commented Jun 4, 2024

Finally, the truth is revealed. Good!

Copy link

github-actions bot commented Jun 4, 2024

Test Results

 2 433 files  ±0   2 433 suites  ±0   5h 0m 22s ⏱️ - 1m 19s
   934 tests ±0     933 ✅ ±0   1 💤 ±0  0 ❌ ±0 
10 828 runs  ±0  10 814 ✅ ±0  14 💤 ±0  0 ❌ ±0 

Results for commit 8dcdb3c. ± Comparison against base commit eb164a8.

@zuston zuston merged commit 41d78aa into apache:master Jun 4, 2024
41 checks passed
@zuston
Copy link
Member

zuston commented Jun 4, 2024

Merged. Thanks @EnricoMi @rickyma for your deep digging.

EnricoMi added a commit that referenced this pull request Jun 4, 2024
…1766)

### What changes were proposed in this pull request?
Method `ThreadUtils.executeTasks` expects milliseconds, but seconds are given.

### Why are the changes needed?
Requests are interrupted before the configured timeout passes.

Fix: #1764

### Does this PR introduce _any_ user-facing change?
Configured timeout is respected.

### How was this patch tested?
Manually tested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Unregister shuffles timeout unit mismatch
3 participants