Taskengine.isresponsive Property Follow

0
Avatar
Legacy Poster

How does TaskEngine.IsResponsive Property work internally? Or in another word, under what condition will it be set to true and false? Is it set by printer server after it receives heartbeat from the bartender process via IPC?

 

After I set TaskEngine.ResponsiveTimeout to 5s, I check TaskEngine.IsResponsive periodically. If it's false, I'll just kill the engine and start a new one.

 

I guess IsResponsive is for this purpose and IsAlive is not because the latter only means the engine is running (but may have been processing a large job that takes a really long). But I'm not sure because the SDK doc doesn't mention any details.

 

Please advise. Thank you.

Please sign in to leave a comment.