2

In Asp.Net when an application pool stops, invokes the application_end event. In this event i execute some operations who must be completed before the application shutdown. These operations are synchronously but sometimes application stops without all operation completed, but there are no errors. I think there is a timeout at application pool level or at application_end event level.. but i haven't found nothing in documentation about this timeout.

jed
  • 41
  • 5

1 Answers1

1

This timeout is configurable by app pool (iis.net). It's shutdownTimeLimit, or Shutdown Time Limit (seconds) in the UI (advanced app pool settings).

John Tseng
  • 6,262
  • 2
  • 27
  • 35