Skip to content

Commit

Permalink
msi: fix slow start issue on Windows
Browse files Browse the repository at this point in the history
Until chef/win32-service#85 is merged,

This fix should be applied to fluent-package not to block starting fluentdwinsvc service on Windows.

See #618

Closes: #630

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
  • Loading branch information
kenhys committed Mar 7, 2024
1 parent 1bd0d76 commit 28c4287
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fluent-package/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if ENV["INSTALL_GEM_FROM_LOCAL_REPO"]
# into managed Gemfile.lock
source FLUENTD_LOCAL_GEM_REPO do
gem "fluentd"
# Until https://github.com/chef/win32-service/pull/85 is merged,
# this fix should be applied to fluent-package not to block starting fluentdwinsvc service on Windows.
# See https://github.com/fluent/fluent-package-builder/issues/618
gem 'win32-service', git: 'https://github.com/fluent-plugins-nursery/win32-service.git', branch: 'fix-slow-start-with-ruby3', platforms: windows_platforms
end
else
# Lock to specific revision
Expand Down Expand Up @@ -81,7 +85,8 @@ gem "ffi-win32-extensions", "1.0.4", platforms: windows_platforms
gem "nokogiri", "1.15.5", platforms: windows_platforms
gem "win32-event", "0.6.3", platforms: windows_platforms
gem "win32-ipc", "0.7.0", platforms: windows_platforms
gem "win32-service", "2.3.2", platforms: windows_platforms
# Use forked version of win32-service until https://github.com/chef/win32-service/pull/85 is merged.
#gem "win32-service", "2.3.2", platforms: windows_platforms
gem "winevt_c", "0.10.1", platforms: windows_platforms
gem "win32-eventlog", "0.6.7", platforms: windows_platforms
gem "fluent-plugin-parser-winevt_xml", "0.2.6", platforms: windows_platforms
Expand Down

0 comments on commit 28c4287

Please sign in to comment.