-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow variable pool size on BaseProtocol / Protocol (#57)
* Reduce pool size to 4, but raise service account 150 * Add pool_size parameter
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ class Configuration(object): | |
account = Account(primary_smtp_address='[email protected]', credentials=credentials, autodiscover=True) | ||
""" | ||
def __init__(self, credentials, server=None, has_ssl=True, service_endpoint=None, auth_type=None, version=None): | ||
def __init__(self, credentials, server=None, has_ssl=True, service_endpoint=None, auth_type=None, version=None, **kwargs): | ||
if auth_type is not None and auth_type not in AUTH_TYPE_MAP: | ||
raise ValueError('Unsupported auth type %s' % auth_type) | ||
if not (server or service_endpoint): | ||
|
@@ -43,7 +43,8 @@ def __init__(self, credentials, server=None, has_ssl=True, service_endpoint=None | |
service_endpoint=service_endpoint, | ||
auth_type=auth_type, | ||
credentials=credentials, | ||
version=version | ||
version=version, | ||
**kwargs | ||
) | ||
|
||
@property | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters