Closed vbrodsky closed 1 month ago
Switch from direct http access to using Session and related Request and PreparedRequest classes. This gives us a number of advantages:
Immediate benefit is fix for network connections issues we had with our sdk integration tests in codefresh This was tested as follows:
gke_lb-cicd-codefresh_us-central1_env0
kubectl -n codefresh-workers exec -it dind-6697ec95c9240c841e27d1f6 -- bash
docker ps
import requests while True: response2 = requests.get('https://app.lb-stage.xyz/signin', timeout=10) print(response2.status_code)
import requests s = requests.Session() while True: response = s.get('https://app.lb-stage.xyz/signin', timeout=10) print(response.status_code)
Please delete options that are not relevant.
Description
Switch from direct http access to using Session and related Request and PreparedRequest classes. This gives us a number of advantages:
Immediate benefit is fix for network connections issues we had with our sdk integration tests in codefresh This was tested as follows:
gke_lb-cicd-codefresh_us-central1_env0
is configured locallykubectl -n codefresh-workers exec -it dind-6697ec95c9240c841e27d1f6 -- bash
docker ps
to find the id of our test docker containerType of change
Please delete options that are not relevant.
All Submissions
New Feature Submissions
Changes to Core Features