1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Better default for PAGE SIZE (DEFAULT_POOL_PAGE_SIZE = 200)

This commit is contained in:
Abel Coronado 2017-11-17 15:47:07 +01:00 committed by Ruben S. Montero
parent 19ca3ab64e
commit 56341375b6

View File

@ -69,7 +69,7 @@ module OpenNebula
end
end
DEFAULT_POOL_PAGE_SIZE = 2000
DEFAULT_POOL_PAGE_SIZE = 200
if size=ENV['ONE_POOL_PAGE_SIZE']
if size.strip.match(/^\d+$/) && size.to_i >= 2