Changeset 272c52
- Timestamp:
- 03/12/08 14:40:30 (4 years ago)
- Branches:
- master, ketama-compat
- Children:
- 279733d
- Parents:
- 399607
- git-author:
- Tomash Brechko <tomash.brechko@…> (03/12/08 13:17:04)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (03/12/08 14:40:30)
- Files:
-
- 2 edited
-
Fast.xs (modified) (2 diffs)
-
src/client.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Fast.xs
rb7662a r272c52 215 215 } 216 216 217 ps = hv_fetch(conf, "hash_namespace", 14, 0); 218 if (ps && SvOK(*ps)) 219 client_set_hash_namespace(c, SvTRUE(*ps)); 220 217 221 ps = hv_fetch(conf, "servers", 7, 0); 218 222 if (ps && SvOK(*ps)) … … 273 277 if (ps && SvOK(*ps)) 274 278 client_set_nowait(c, SvTRUE(*ps)); 275 276 ps = hv_fetch(conf, "hash_namespace", 14, 0);277 if (ps && SvOK(*ps))278 client_set_hash_namespace(c, SvTRUE(*ps));279 279 280 280 parse_compress(memd, conf); -
src/client.h
ra57c5d r272c52 104 104 client_set_ketama_points(struct client *c, int ketama_points); 105 105 106 /* 107 client_set_hash_namespace() should be called before setting the 108 namespace. 109 */ 110 extern 111 void 112 client_set_hash_namespace(struct client *c, int enable); 113 106 114 extern 107 115 int … … 141 149 void 142 150 client_set_nowait(struct client *c, int enable); 143 144 extern145 void146 client_set_hash_namespace(struct client *c, int enable);147 151 148 152 extern
Note: See TracChangeset
for help on using the changeset viewer.
