I have a python script which takes a list of names to create a bunch of repositories in GitLab. I’m using a lamda function in AWS and sending in the names one at a time via API Gateway which only allows 28 seconds.
Once in a while, AWS will return a timeout and upon debugging and parsing the logs, the lamda waited too long for a response from the GitLab API.
Does anyone know why the API could be taking a long time to reply? It seems strange as this endpoint typically take less than a second. All other calls after this went through with no issue.
Any insight is appreciated.