Skip to content

Commit

Permalink
Fix Bug Where Weight Is Set to 0 in Ramping-Up Strategy
Browse files Browse the repository at this point in the history
Motivation:
When the original weight is less than 10, the initial weight is incorrectly set to 0, potentially leading to `EndpointSelectionTimeoutException`.

Modifications:
- Ensured a minimum weight of 1 is set when the original weight is greater than 1 in the ramping-up strategy.
- Added debugging logs for selector and selection strategy to facilitate troubleshooting.

Result:
- Fix a bug where weights could unintentionally be set to 0 in ramping-up strategies.
  • Loading branch information
minwoox committed Dec 3, 2024
1 parent 01e434c commit 3db0b0e
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 955 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3db0b0e

Please sign in to comment.