Update: I updated the question, to reflect what I described in the body of the question, and what was happening at the time. It also justifies why I did not mark
Default timeout can be changed here https://console.cloud.google.com/functions/list select function >test function > edit > timeout
select function
test function
edit
timeout