mirror of
https://github.com/mistergibson/gxg-framework.git
synced 2026-08-15 03:46:00 -07:00
tidy up gemspec
This commit is contained in:
parent
e02441577b
commit
7d7216e876
2 changed files with 5 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
Gem::Specification.new do |s|
|
||||
s.name = 'gxg-framework'
|
||||
s.version = '0.0.57'
|
||||
s.licenses = ['HIPPOCRATIC', 'https://firstdonoharm.dev/version/2/1/license.html']
|
||||
s.version = '0.0.58'
|
||||
s.licenses = ['HIPPOCRATIC 2.1', 'https://firstdonoharm.dev/version/2/1/license.html']
|
||||
s.summary = "GxG Framework"
|
||||
s.description = "GxG Framework"
|
||||
s.authors = ["G. Gibson"]
|
||||
|
|
|
|||
|
|
@ -22,8 +22,9 @@ module GxG
|
|||
end
|
||||
#
|
||||
@@details[:files] = {:maximum_file_descriptors => 1024}
|
||||
# FORNOW : Review : server claims 50% of all system threads
|
||||
@@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}
|
||||
# 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 => 18931, :event_descriptors_threshold => 0.05, :event_descriptors_envelope => (20..100), :event_minimum_threshold => 20}
|
||||
# Fix for Windows: per-process theads max is 2000.
|
||||
if GxG::SYSTEM.platform[:platform] == :windows
|
||||
@@details[:files][:maximum_file_descriptors] = 512
|
||||
|
|
|
|||
Loading…
Reference in a new issue