Skip to content

Commit

Permalink
Increased max size of message for base_transfer to prevent superflous…
Browse files Browse the repository at this point in the history
… splitting up of put and get transfers
  • Loading branch information
nmassey001 committed Nov 21, 2024
1 parent 9b59192 commit 9d360e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nlds_processors/transfer/base_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class BaseTransferConsumer(StattingConsumer, ABC):
_REQUIRE_SECURE: True,
_PRINT_TRACEBACKS: False,
_FILELIST_MAX_LENGTH: 1000,
StattingConsumer._MESSAGE_MAX_SIZE: 16 * 1000 * 1000
}

def __init__(self, queue=DEFAULT_QUEUE_NAME):
Expand All @@ -46,7 +47,7 @@ def __init__(self, queue=DEFAULT_QUEUE_NAME):
self.require_secure_fl = self.load_config_value(self._REQUIRE_SECURE)
self.print_tracebacks_fl = self.load_config_value(self._PRINT_TRACEBACKS)
self.filelist_max_len = self.load_config_value(self._FILELIST_MAX_LENGTH)

self.message_max_size = self.load_config_value(self._MESSAGE_MAX_SIZE)
self.reset()

def _callback_common(self, cm, method, properties, body, connection):
Expand Down

0 comments on commit 9d360e8

Please sign in to comment.