Skip to content

Commit 168db53

Browse files
author
Marcelo RS Soares
committed
trying to fix mongodb and other databases slow loading on the details page
1 parent 181f1e3 commit 168db53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbaas/logical/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def database_details(request, context, database):
269269
topology = database.databaseinfra.plan.replication_topology
270270
engine = engine + " - " + topology.details if topology.details else engine
271271
try:
272-
masters_quant = len(database.driver.get_master_instance(default_timeout=True))
272+
masters_quant = len(database.driver.get_master_instance(default_timeout=3000))
273273
except TypeError:
274274
masters_quant = 1
275275
except Exception:

0 commit comments

Comments
 (0)