Closed hasit closed 9 months ago
The recent updates focus on optimizing the aperture-py
, aperture-go
, aperture-js
, aperture-csharp
, and aperture-java
SDKs. The modifications across these SDKs streamline the code by introducing conditional checks and removing redundant lines to enhance efficiency and maintain code cleanliness.
File Path | Change Summary |
---|---|
sdks/aperture-py/aperture_sdk/flow.py |
Modified end method to include conditional checks for decision.concurrency_limiter_info.request_id and decision.concurrency_scheduler_info.request_id . |
sdks/aperture-py/aperture_sdk/flow_async.py |
Removed redundant lines. |
sdks/aperture-go/sdk/flow.go |
Updated End method to skip processing if certain conditions are met, specifically checks for an empty RequestId in the ConcurrencyLimiterInfo and ConcurrencySchedulerInfo of each decision. |
sdks/aperture-js/sdk/flow.ts |
Adjusted comparison for DECISION_TYPE_ACCEPTED and introduced additional conditional checks for decision.concurrencyLimiterInfo.requestId and decision.concurrencySchedulerInfo.requestId within the forEach loop. |
sdks/aperture-csharp/Core/FeatureFlow.cs |
Added conditional checks to skip processing if certain RequestId values are empty. |
sdks/aperture-java/lib/core/src/main/java/com/fluxninja/aperture/sdk/Flow.java |
Modified end method to include conditional checks for empty RequestId in ConcurrencyLimiterInfo and ConcurrencySchedulerInfo . |
sdks/aperture-java/lib/core/src/main/java/com/fluxninja/aperture/sdk/TrafficFlow.java |
Added conditional checks to skip processing if certain fields are empty in the LimiterDecision objects. |
sdks/aperture-go/sdk/httpflow.go |
Added conditional checks to skip processing if certain fields in the decision object are empty. |
🐰✨
Changes here, changes there,
Cleaner code, everywhere.
When bugs do hide, we seek with care,
With every commit, we repair.
🌟🐾
Description of change
Checklist
Summary by CodeRabbit
end
method by adding conditional checks to prevent unnecessary processing.