Changeset a1f117
- Timestamp:
- 04/12/08 17:10:40 (4 years ago)
- Branches:
- master-v0.7, master-v0.6, memcached_hash, upstream_count_limit
- Children:
- 413b1d, f54237
- Parents:
- 2ab823
- git-author:
- Tomash Brechko <tomash.brechko@…> (04/12/08 16:45:18)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (04/12/08 17:10:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
memcached_hash/ngx_http_upstream_memcached_hash_module.c
r2ab823 ra1f117 314 314 for (j = 0; j < i; ++j) 315 315 { 316 memd->buckets[j].point = 317 (memd->buckets[j].point 318 - ((uint64_t) memd->buckets[j].point * server[i].weight 319 / total_weight)); 316 memd->buckets[j].point -= 317 (uint64_t) memd->buckets[j].point * server[i].weight 318 / total_weight; 320 319 } 321 320
Note: See TracChangeset
for help on using the changeset viewer.
