Changeset 1970
- Timestamp:
- 09/11/08 13:46:19 (4 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/admin/ModuleBalancer.py (modified) (2 diffs)
- cherokee/trunk/admin/ModuleDbslayer.py (added)
- cherokee/trunk/admin/consts.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1969 r1970 1 1 2008-09-11 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * admin/ModuleDbslayer.py (ModuleDbslayer._op_apply_changes): Add 4 the cherokee-admin module for the new DBSlayer handler. 2 5 3 6 * cherokee/handler_dbslayer.h, cherokee/handler_dbslater.c, cherokee/trunk/admin/ModuleBalancer.py
r1949 r1970 69 69 def _op_apply_changes (self, uri, post): 70 70 new_balancer_node = post.pop('new_balancer_node') 71 if (new_balancer_node):71 if new_balancer_node: 72 72 tmp = [int(x) for x in self._cfg.keys('%s!source'%(self._prefix))] 73 73 tmp.sort() … … 77 77 else: 78 78 new_source = 1 79 79 80 self._cfg['%s!source!%s'%(self._prefix, new_source)] = new_balancer_node 80 cherokee/trunk/admin/consts.py
r1949 r1970 1 1 HANDLERS = [ 2 ('', 'None'), 3 ('common', 'List & Send'), 4 ('file', 'Static content'), 5 ('dirlist', 'Only listing'), 6 ('redir', 'Redirection'), 7 ('cgi', 'CGI'), 8 ('fcgi', 'FastCGI'), 9 ('scgi', 'SCGI'), 10 ('server_info', 'Server Info'), 11 ('custom_error','HTTP error'), 12 ('mirror', 'Generic balancer'), 13 ('admin', 'Remote Administration') 2 ('', 'None'), 3 ('common', 'List & Send'), 4 ('file', 'Static content'), 5 ('dirlist', 'Only listing'), 6 ('redir', 'Redirection'), 7 ('cgi', 'CGI'), 8 ('fcgi', 'FastCGI'), 9 ('scgi', 'SCGI'), 10 ('server_info', 'Server Info'), 11 ('dbslayer', 'Data Base bridge'), 12 ('mirror', 'Generic balancer'), 13 ('custom_error', 'HTTP error'), 14 ('admin', 'Remote Administration') 14 15 ] 15 16