port-labs / ocean

🌊 Ocean 🌊 is an innovative solution developed by Port to seamlessly integrate various third-party systems with our developer portal product, empowering engineers to effortlessly prioritize key features and streamline the integration process.
https://ocean.getport.io
Apache License 2.0
118 stars 55 forks source link

[Framework] Handle ReadTimeout errors #983

Closed omby8888 closed 2 months ago

omby8888 commented 2 months ago

Description

What - Handle ReadTimeout Errors

Why - Requests to port or 3party apps may take a while, on the other hand we want to do out best effort to complete the resync

How - Increased the httpx client timeout and not raise exceptions during batch upsert entities

Type of change

Please leave one option from the following and delete the rest:

All tests should be run against the port production environment(using a testing org).

Core testing checklist

Integration testing checklist

Preflight checklist

Screenshots

Include screenshots from your environment showing how the resources of the integration will look.

API Documentation

Provide links to the API documentation used for this integration.