Closed tagomoris closed 7 years ago
@unak Could you check this diff? And, I think heartbeat can be enabled also on Windows platform. Do you have any idea about any barrier to make it enabled? https://github.com/treasure-data/serverengine/blob/master/lib/serverengine/process_manager.rb#L173
@tagomoris I'll check it. Just a moment...
BTW, Ruby on Windows cannot pass pipes (and any IOs) via file descriptors excepts 0, 1 or 2. Therefore, we need another mechanism to tell the child processes the heartbeat pipes to enable it.
@unak I see about it. Thank you for quick comment.
@unak ping?
Oh, sorry, I've forgotten to reply. My conclusion is that it looks good.
Merged. Thank you @unak!
Fixes #76.