Closed acty-yoshida closed 7 years ago
Hmm, this if
should be out of unless ServerEngine.windows?
:
https://github.com/treasure-data/serverengine/blob/master/lib/serverengine/process_manager.rb#L247
I think so. I've tried it in my environment. That's works fine.
def tick(blocking_timeout=0)
if @closed
raise AlreadyClosedError.new
end
# move
if @rpipes.empty?
sleep blocking_timeout if blocking_timeout > 0
return nil
end
time ||= Time.now
unless ServerEngine.windows?
# heartbeat is not supported on Windows platform.
...
@acty-yoshida thank you to try it! I pushed #77.
I found this problem using fluentd in Windows Server 2012R2. The debugging results, I think following point is the cause of problem.