QWQyyy opened a new issue, #5467:
URL: https://github.com/apache/openwhisk/issues/5467

   Because our project requires a large number of HTTP request tests and our 
functions (modern machine learning workflows) have relatively long execution 
times, our team believes that it is necessary to compile the Docker image of 
OpenWhisk from the source code and modify the 1min gateway blocking limit.
   We have made a number of source code modifications for this purpose, as 
follows:
   1. In the source code part of the controller, we modify application.conf, 
set request-timeout = 36000s
   
![image](https://github.com/apache/openwhisk/assets/54056797/758d2461-a613-4c68-a60f-b4946015b29c)
   2. In the source code part of the controller, we also modified 
reference.conf: 
   
![image](https://github.com/apache/openwhisk/assets/54056797/d7ecafc9-effa-43f5-a889-3ab460d5fb90)
   3. In the common Scala module, we also modified application.conf:
   
![image](https://github.com/apache/openwhisk/assets/54056797/badc1db4-62c6-4151-a3ba-4d34b9ab6ce6)
   
![image](https://github.com/apache/openwhisk/assets/54056797/9c5ef233-bce7-4c76-b09b-023740c9eef0)
   After completing the above three modifications, we used ./gradlew 
:core:controller:distDocker to compile the Docker image and replaced the image 
used by our K8s OpenWhisk cluster. We modified value.yaml .
   
   We ensure that the content written in values.yaml meets the requirements:
   
![image](https://github.com/apache/openwhisk/assets/54056797/58b58712-4e1c-4d8e-8185-05707ba34156)
   We also made some modifications to nginx, including the default.conf inside 
the nginx:1.21.1 image, and the read-only nginx.conf configured using 
nginx-configmap:
   
![image](https://github.com/apache/openwhisk/assets/54056797/68f6f2c8-472a-488f-a0ee-b9874411a72d)
   
![image](https://github.com/apache/openwhisk/assets/54056797/72724abd-34c8-4b84-924b-cc6350bee857)
   However, when we used curl to test, we found that it did not seem to work 
completely. The blocking of the nginx gateway was overcome, but the following 
information was printed:
   
![image](https://github.com/apache/openwhisk/assets/54056797/7784bd9c-bbe7-49f3-8093-ef2452e9793c)
   So, what modifications do we need to make to overcome this problem? Looking 
forward to your guidance!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to