If I try to define udp_workers with autoscaling I get a syntax error. It works 
fine for tcp_workers though:

Apr 25 18:28:24 [24311] Traceback (last included file at the bottom):
Apr 25 18:28:24 [24311]  0. o.cfg
Apr 25 18:28:24 [24311] CRITICAL:core:yyerror: parse error in o.cfg:33:16-42: 
syntax error
Apr 25 18:28:24 [24311]
Apr 25 18:28:24 [24311] tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
Apr 25 18:28:24 [24311] udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
Apr 25 18:28:24 [24311] ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Apr 25 18:28:24 [24311]

Profile is the same for both:

auto_scaling_profile = SIP_WORKERS
     scale up to 10 on 80% for 4 cycles within 5
     scale down to 5 on 20% for 10 cycles

tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
udp_workers = 5 use_auto_scaling_profile SIP_WORKERS

--
Dan





_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to