Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ingest/expression_files/expression_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
class GeneExpression:
__metaclass__ = abc.ABCMeta
COLLECTION_NAME = "genes"
DATA_ARRAY_BATCH_SIZE = 1_000
DATA_ARRAY_BATCH_SIZE = 500
# Logger provides more details
dev_logger = setup_logger(__name__, "log.txt", format="support_configs")

Expand Down
1 change: 1 addition & 0 deletions ingest/mongo_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(self):
password=self.password,
authSource=self.db_name,
authMechanism="SCRAM-SHA-1",
serverSelectionTimeoutMS=60_000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, we believe the original timeout was 20 seconds.

)
self._client = client[self.db_name]
# Needed to due to lack of database mock library for MongoDB
Expand Down