File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed
cubejs-backend-shared/src Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -479,17 +479,6 @@ const variables: Record<string, (...args: any) => any> = {
479479 return val ;
480480 } ,
481481
482- /**
483- * Flag to disable driver's test connection probes
484- */
485- dbDisableTestConnection : ( {
486- dataSource
487- } : {
488- dataSource : string ,
489- } ) => (
490- ! ! process . env [ keyByDataSource ( 'CUBEJS_DB_DISABLE_TEST_CONNECTION' , dataSource ) ]
491- ) ,
492-
493482 /**
494483 * Database max pool size.
495484 */
Original file line number Diff line number Diff line change @@ -175,8 +175,6 @@ export abstract class BaseDriver implements DriverInterface {
175175
176176 protected logger : any ;
177177
178- protected isTestConnectionDisabledFlag : boolean = false ;
179-
180178 /**
181179 * Class constructor.
182180 */
@@ -186,14 +184,8 @@ export abstract class BaseDriver implements DriverInterface {
186184 * request before determining it as not valid. Default - 10000 ms.
187185 */
188186 testConnectionTimeout ?: number ,
189-
190- /**
191- * Flag for serverless DWHs to omit test connection probes.
192- */
193- isTestConnectionDisabled ?: boolean ,
194187 } = { } ) {
195188 this . testConnectionTimeoutValue = _options . testConnectionTimeout || 10000 ;
196- this . isTestConnectionDisabledFlag = _options . isTestConnectionDisabled || false ;
197189 }
198190
199191 protected informationSchemaQuery ( ) {
@@ -688,10 +680,6 @@ export abstract class BaseDriver implements DriverInterface {
688680 query . query = `SELECT * FROM (${ query . query } ) AS t LIMIT ${ query . limit } ` ;
689681 }
690682
691- public isTestConnectionDisabled ( ) : boolean {
692- return ! ! this . isTestConnectionDisabledFlag ;
693- }
694-
695683 /**
696684 * Returns an array of signed AWS S3 URLs of the unloaded csv files.
697685 */
You can’t perform that action at this time.
0 commit comments