tidy up gemspec

This commit is contained in:
G. Gibson 2024-05-05 18:27:22 -07:00
parent e02441577b
commit 7d7216e876
2 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = 'gxg-framework' s.name = 'gxg-framework'
s.version = '0.0.57' s.version = '0.0.58'
s.licenses = ['HIPPOCRATIC', 'https://firstdonoharm.dev/version/2/1/license.html'] s.licenses = ['HIPPOCRATIC 2.1', 'https://firstdonoharm.dev/version/2/1/license.html']
s.summary = "GxG Framework" s.summary = "GxG Framework"
s.description = "GxG Framework" s.description = "GxG Framework"
s.authors = ["G. Gibson"] s.authors = ["G. Gibson"]

View file

@ -22,8 +22,9 @@ module GxG
end end
# #
@@details[:files] = {:maximum_file_descriptors => 1024} @@details[:files] = {:maximum_file_descriptors => 1024}
# FORNOW : Review : server claims 50% of all system threads # FORNOW : Review : server claims 50% of all system threads, saw a default of 18931 imposed by system quotas.
@@details[:events] = {:maximum_event_descriptors => (GxG::SYSTEM["kernel.threads_max"]["kernel.threads_max"].to_f * 0.5).to_i , :event_descriptors_threshold => 0.05, :event_descriptors_envelope => (20..100), :event_minimum_threshold => 20} # @@details[:events] = {:maximum_event_descriptors => (GxG::SYSTEM["kernel.threads_max"]["kernel.threads_max"].to_f * 0.5).to_i , :event_descriptors_threshold => 0.05, :event_descriptors_envelope => (20..100), :event_minimum_threshold => 20}
@@details[:events] = {:maximum_event_descriptors => 18931, :event_descriptors_threshold => 0.05, :event_descriptors_envelope => (20..100), :event_minimum_threshold => 20}
# Fix for Windows: per-process theads max is 2000. # Fix for Windows: per-process theads max is 2000.
if GxG::SYSTEM.platform[:platform] == :windows if GxG::SYSTEM.platform[:platform] == :windows
@@details[:files][:maximum_file_descriptors] = 512 @@details[:files][:maximum_file_descriptors] = 512