Skip to content

Commit f7d74dd

Browse files
committed
🚧 fix(wip): bandwidth default to 1K
1 parent af8c201 commit f7d74dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magnet/ic/field.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def __init__(self, server: str):
183183
"""
184184
self.server = server
185185

186-
async def on(self, category: str = 'no_category', stream: str = 'documents', session='magnet', job: bool = None, local: bool = False, domain: str = None, bandwidth: int = 3, credentials: str = 'path_to_creds_file', port: int = 4222):
186+
async def on(self, category: str = 'no_category', stream: str = 'documents', session='magnet', job: bool = None, local: bool = False, domain: str = None, bandwidth: int = 1000, credentials: str = 'path_to_creds_file', port: int = 4222):
187187
"""
188188
Connects to the NATS server, subscribes to a specific category in a stream, and consumes messages from that category.
189189

0 commit comments

Comments
 (0)