File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ import { Router } from 'express';
33
44import multipartRequest from '../lib/multipartRequest' ;
55
6- // the limit on the frontend is 20000 so we need to fetch at least as many connections as that to
7- // check if that limit is reached. If we fetch less than the frontend limit, it would always show the
8- // drop down select box which would be broken for tenants with more connections than the limit.
6+ // This is the number of connections in a tenant which the DAE can reasonably handle. More than this and it fails to
7+ // finish loading connections and the "create user" button is never shown. If there are more connections than this
8+ // in the tenant, we will return zero connections to the front end, and it will use a free text box for connection name
9+ // in the create user dialogue.
910const CONNECTIONS_FETCH_LIMIT = 20000 ;
1011
1112export default ( scriptManager ) => {
You can’t perform that action at this time.
0 commit comments