Skip to content

Commit

Permalink
Use singleton MongoClient object when creating Arctic connection
Browse files Browse the repository at this point in the history
  • Loading branch information
tgibson11 committed Jul 17, 2023
1 parent 643102c commit 7791391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysdata/arctic/arctic_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self, collection_name, mongo_db=None):

# Arctic doesn't accept a port

store = Arctic(hostname)
store = Arctic(client)

self.database_name = database_name
self.collection_name = collection_name
Expand Down

0 comments on commit 7791391

Please sign in to comment.