BaseTrafficConfig ================= **class** ``BaseTrafficConfig`` **(** ``BasePolyConfig`` **)** Traffic scheduling strategy (rate-based or concurrent). **Polymorphic Type:** All ``BaseTrafficConfig`` types: - ``rate``: :doc:`RateTrafficConfig` - ``concurrent``: :doc:`ConcurrentTrafficConfig` - ``sequential_launch``: :doc:`SequentialLaunchTrafficConfig` **Fields:** ``cancel_session_on_failure`` : *bool* = ``True`` Whether to cancel the session on failure of any request.