Allow slow service startup again.
authorIain Patterson <me@iain.cx>
Mon, 15 Dec 2014 14:05:55 +0000 (14:05 +0000)
committerIain Patterson <me@iain.cx>
Tue, 30 Dec 2014 15:27:46 +0000 (15:27 +0000)
commit85fe241fc72957ceb77ed2c5587189a23246d87f
tree7c1adbcbe268346073927eb820ab68ff0e1a5f9f
parent8bb8d0f780b0837639e95241a58677169fd15b4e
Allow slow service startup again.

Previously we enforced a maximum delay in reporting to the service
manager that the service was started, and waited for the application to
become unthrottled in the background.

Users may prefer that the service not report a started state until the
application is unthrottled.  Therefore we now loop and increment the
status checkpoint and wait hint to satisfy the service manager that we
aren't hung.

Thanks Tom Saul.
service.cpp
service.h