Skip to content

Commit

Permalink
feat: reuse session
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM committed Sep 13, 2024
1 parent a62b85e commit 25fbbb3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jina/parsers/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,9 @@ def mixin_client_features_parser(parser):
default='default',
help='The config name or the absolute path to the YAML config file of the logger used in this object.',
)
parser.add_argument(
'--reuse-session',
action='store_true',
default=False,
help='True if HTTPClient should reuse ClientSession. If true, user will be responsible to close it',
)

0 comments on commit 25fbbb3

Please sign in to comment.