Closed preritdas closed 1 month ago
The changes introduce a caching mechanism for custom fields in the FollowUpBoss
class, enhancing efficiency during lead delivery. Modifications include improved error handling and logging in the _deliver_single_lead
method. Additionally, the retry logic in the fub_rate_limited
decorator is adjusted to allow for more attempts before raising exceptions due to rate limits, increasing the number of retries from 5 to 10.
File Path | Change Summary |
---|---|
real_intent/deliver/followupboss/ai_fields.py |
Introduced caching for CustomField objects, modified _deliver_single_lead for better logging and error handling, and updated _get_custom_fields to utilize the cache. |
real_intent/deliver/followupboss/vanilla.py |
Increased retry attempts in fub_rate_limited from 5 to 10 and updated the exception message accordingly. |
ai_fields.py
) to enhance handling of Personally Identifiable Information (PII), relevant to the caching mechanism.vanilla.py
file to implement concurrent processing in the _deliver
method, relating to the efficiency improvements in _deliver_single_lead
.🐇 In the fields where bunnies play,
New caching brings a brighter day.
With retries now up to ten,
We'll hop along, again and again!
Error logs will guide our way,
Delivering leads without delay! 🌼
Summary by CodeRabbit
New Features
Bug Fixes