Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Firefly actions - maximal execution time?

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

517 likes

Total Posts

1,016 posts

Correct Reply

255 solutions
Top badges earned
Coach
Contributor
Bedrock
View profile

Avatar
Coach
MVP
ursboller
MVP

Likes

517 likes

Total Posts

1,016 posts

Correct Reply

255 solutions
Top badges earned
Coach
Contributor
Bedrock
View profile
ursboller
MVP

07-09-2020

I'm in the process to write an action that should download data from Adobe Analytics (API 1.4). the overall action already takes about 30 seconds if I reduce the action to a minimum (will need to run a few times in a row by alarms).

 

however, I run into timeouts in the beginning when the action took longer than about 60 seconds. my questions are:

- what's the exact limit for the execution time in the UI?

- what's the limit for the execution time if the action is running headless (triggered by alarms)?

- any option to increase those execution times?

 

thanks for your support!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 25
Employee
duypnguyen
Employee

Likes

26 likes

Total Posts

160 posts

Correct Reply

31 solutions
Top badges earned
Boost 25
Applaud 5
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Boost 25
Employee
duypnguyen
Employee

Likes

26 likes

Total Posts

160 posts

Correct Reply

31 solutions
Top badges earned
Boost 25
Applaud 5
Give Back 5
Give Back 3
Give Back 10
View profile
duypnguyen
Employee

07-09-2020

Hi @ursboller , the default timeout of an action is one minute as you observed. As you are running an async invocation, you can increase it to max 30 minutes.

To do it, specify the desired timeout in your manifest file, as below:

actions:
  generic:
    function: actions/generic/index.js
    runtime: 'nodejs:12'
    limits:
      timeout: 1800000

On the other hand, web (blocking) action max timeout is still one minute.

Reference for the limits: https://github.com/AdobeDocs/adobeio-runtime/blob/master/guides/system_settings.md

Answers (0)