get pool size from environment variable
This commit is contained in:
parent
7ee4fc345b
commit
723d2c4c73
|
@ -1,11 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Init and utils."""
|
||||
|
||||
import os
|
||||
from zope.i18nmessageid import MessageFactory
|
||||
|
||||
_ = MessageFactory('pfwbged.policy')
|
||||
|
||||
POOL_SIZE = 1000
|
||||
POOL_SIZE = int(os.environ.get('GED_POOL_SIZE', 1000))
|
||||
|
||||
|
||||
def initialize(context):
|
||||
|
|
Reference in New Issue