Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
d4432f32
Commit
d4432f32
authored
Mar 02, 2018
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove function TryToGetFinalServer()
parent
e42d033d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
weighted_round_robin_load_balancer.h
src/brpc/policy/weighted_round_robin_load_balancer.h
+0
-3
No files found.
src/brpc/policy/weighted_round_robin_load_balancer.h
View file @
d4432f32
...
...
@@ -89,9 +89,6 @@ private:
TLS
&
tls
);
// Get a reasonable stride according to weights configured of servers.
static
uint32_t
GetStride
(
const
uint32_t
weight_sum
,
const
uint32_t
num
);
static
void
TryToGetFinalServer
(
const
TLS
&
tls
,
const
std
::
pair
<
SocketId
,
int
>
server
,
uint32_t
&
comp_weight
,
int64_t
*
final_server
);
butil
::
DoublyBufferedData
<
Servers
,
TLS
>
_db_servers
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment