Reputation: 31
I try to run a loop for 1000 times, when the program reaches 60 seconds typing this error
Internal Server Error
Sample code
for i in range(1000,0,-1):
wc = fun_A(funInput) #function
time.sleep(i/1000)
Εrror is only when reach the 60sec. I try for a repetition number of less than 60sec and runs normally
Upvotes: 2
Views: 444
Reputation: 10857
60 seconds is the limit for a serverless action on IBM Cloud. You can find the details here - https://console.bluemix.net/docs/openwhisk/openwhisk_reference.html#openwhisk_syslimits. There is also information there about how to request more time for your action (scroll down to "Increasing fixed limits").
Upvotes: 4