Function timeout

We have a function that is getting the BOM from our PLM and writing to epicor. Works fine in Pilot, deployed to Prod yesterday and is failing due to Time out. Is there a setting for timeouts that I am missing?

Program Ice.Services.Lib.RunTask when executing task 1764009 raised an unexpected exception with the following message: RunTask:
System.Data.SqlClient.SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
Operation cancelled by user.

Got details of your function? Is it pointing to the wrong database or something similar hard to tell without seeing the details

1 Like

Ended up just adding timeout settings at the beginning of the function code.

1 Like

Seems quite odd that it would timeout. Masking the problem may be the soluition to the immediate problem, but may indicate other system wide issues.

It was doing a lot of work. some of our BOMs are 2000 rows.

The system wide issue might just be how we build our BOMs :rofl:

1 Like