Changeset 321c4d
- Timestamp:
- 02/01/09 12:50:11 (3 years ago)
- Branches:
- master-v0.7, master-v0.6, memcached_hash, upstream_count_limit
- Children:
- aedaaa, f54237
- Parents:
- 2e1f23
- git-author:
- Tomash Brechko <tomash.brechko@…> (02/01/09 12:50:11)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (02/01/09 12:50:11)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
memcached_hash/ngx_http_upstream_memcached_hash_module.c
r12bc79 r321c4d 325 325 for (j = 0; j < i; ++j) 326 326 { 327 memd->buckets[j].point -= 328 (uint64_t) memd->buckets[j].point * server[i].weight 327 memd->buckets[j].point = 328 (uint64_t) memd->buckets[j].point 329 * (total_weight - server[i].weight) 329 330 / total_weight; 330 331 }
Note: See TracChangeset
for help on using the changeset viewer.
