Forum Discussion

HamidBee's avatar
HamidBee
Power Participant
1 year ago
Solved

Understanding Timeout in Activities

Hi all,   I'm trying to get a clearer understanding of the Timeout setting in Fabric activities. My current understanding is that Timeout determines how long an activity is allowed to run before it...
  • jpelham's avatar
    1 year ago

    If you have a copy data activity that only typically takes 3 minutes to complete, I would recommend not allowing itto run for 48 hours. You should be setting the timeout to a time that allows for the activity to reasonably complete with a small buffer. The minimum timeout is 10 minutes. If there ends of being a connection issue and the activity is allowed to run for 48 hours when it typically only takes 3 minutes, you will use more resources than necessary. 

     

    Instead of using long periods of time before an activity times out, you should use retries, and also maybe incorporate sending emails or teams messages if an activity fails. For example, if you set a timeout of 10 minutes and have retries set to 2, your activity will attempt to complete up to 3 times and run for up to 30 minutes. If it still fails to load, then you could set up notifications on failure. This allows you catch potential issues with the pipeline, data source, or the gateway.