cacellation token enabled after a while

49 Views Asked by At

i have an micro service application who has many projects i called service who need three other service project to complete task when i called the method it enable cancellation token and i do not know what is the error it works perfectly on debug mode but when i published it on server it shows me

The operation was canceled.

the method is async and task operation base

  1. increase time out on iis did not work
  2. Task.Run()=>(mytask()).(SetMyTimout); didn't work
  3. await mymethod().wait(timeout); didn't work
0

There are 0 best solutions below