internetee-registry/app
oleghasjanov a11c0fca2d fix: handle HTTPClient::KeepAliveDisconnected in OrgRegistrantPhoneCheckerJob
This commit implements a reliable connection error handling solution for the
Company Register API integration. The job previously failed when connection
errors occurred without proper recovery mechanisms.
The implementation:
Adds a lightweight Retryable module with configurable retry logic
Implements smart caching of API responses (1 day expiration)
Handles common network errors like KeepAliveDisconnected and timeouts
Provides a fallback mechanism when all retry attempts fail
Ensures test reliability with cache-skipping in test environment
Testing:
Added specific tests for both recovery and fallback scenarios
Verified cache behavior in production and test environments
Resolves connection errors observed in production logs without adding
unnecessary complexity to the codebase.
2025-03-06 11:38:09 +02:00
..
assets removed banklinks, addede everypay banner 2022-06-02 09:37:20 +03:00
controllers feat: add admin contact ident type validation 2025-02-03 13:59:03 +02:00
helpers Removed and updated additional files 2022-10-13 14:06:33 +03:00
interactions fix: handle missing force_delete_start date 2025-02-21 10:40:39 +02:00
jobs fix: handle HTTPClient::KeepAliveDisconnected in OrgRegistrantPhoneCheckerJob 2025-03-06 11:38:09 +02:00
lib fix: handle HTTPClient::KeepAliveDisconnected in OrgRegistrantPhoneCheckerJob 2025-03-06 11:38:09 +02:00
mailers Improved verification email translations 2025-01-31 12:49:14 +02:00
models Merge pull request #2723 from internetee/company-validator-during-creation 2025-02-12 10:33:28 +02:00
presenters Removed and updated additional files 2022-10-13 14:06:33 +03:00
services Added birthday ident verification 2025-01-27 16:26:20 +02:00
validators Fixed ransack admin search 2023-04-06 13:54:03 +03:00
views feat: add admin contact ident type validation 2025-02-03 13:59:03 +02:00