Changeset 36798d
- Timestamp:
- 04/12/08 17:10:23 (4 years ago)
- Branches:
- master-v0.7, master-v0.6, memcached_hash, upstream_count_limit
- Children:
- 2ab823
- Parents:
- 36e9ea
- git-author:
- Tomash Brechko <tomash.brechko@…> (03/13/08 18:18:30)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (04/12/08 17:10:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
memcached_hash/ngx_http_upstream_memcached_hash_module.c
r36e9ea r36798d 170 170 unsigned int scaled_total_weight = 171 171 (memd->total_weight + memd->scale / 2) / memd->scale; 172 point = ((point >> 16) & 0x00007fff );172 point = ((point >> 16) & 0x00007fffU); 173 173 point = point % scaled_total_weight; 174 174 point = ((uint64_t) point * CONTINUUM_MAX_POINT
Note: See TracChangeset
for help on using the changeset viewer.
