How to change “waypoint_distance” in config.xml when i need more waypoints to call back?

Because the request path planning results return fewer way_points,I want it to return more intensive results,so I change the parameters in config.yml(routing.non_ch.max_waypoint_distance: 5),but it doesn’t work,who can help me ,Thankes T^T