Skip to content

remove connect/lazyconnect#27

Merged
qpresley merged 1 commit intomasterfrom
removeLazyConnect
Nov 2, 2016
Merged

remove connect/lazyconnect#27
qpresley merged 1 commit intomasterfrom
removeLazyConnect

Conversation

@qpresley
Copy link
Copy Markdown
Collaborator

@qpresley qpresley commented Nov 2, 2016

Lazy connect does not hold meaning in the IBM Database connectors. On initialization there is no connection acquired for the connector. If the user specifies a min or max connection pool size in the settings past in on initialization then the underlying connection pool in the node-ibm_db module will have connections ready.

@qpresley
Copy link
Copy Markdown
Collaborator Author

qpresley commented Nov 2, 2016

@Amir-61 @loay @superkhau PTAL

Comment thread lib/ibmdb.js
} else {
ds.connector.connect(cb);
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You may consider "console.warn('ibm connectors natively support lazy connect via ... see link")"

Copy link
Copy Markdown
Contributor

@Amir-61 Amir-61 left a comment

Choose a reason for hiding this comment

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

LGTM

@qpresley qpresley merged commit 8096340 into master Nov 2, 2016
@qpresley qpresley deleted the removeLazyConnect branch November 2, 2016 16:55
qpresley pushed a commit that referenced this pull request Nov 2, 2016
 * remove connect/lazyconnect (#27) (Quentin Presley)
 * Add initial settings config (#26) (Quentin Presley)
 * Add connectorCapabilities global object (#24) (Nicholas Duffy)
 * Redirect users to log issues in loopback (Candy)
 * deps: remove extraneous dependencies (Ryan Graham)
@Amir-61
Copy link
Copy Markdown
Contributor

Amir-61 commented Nov 2, 2016

@Amir-61
Copy link
Copy Markdown
Contributor

Amir-61 commented Nov 2, 2016

@jannyHou is the one implemented lazyConnect.

FYI: @jannyHou

@qpresley
Copy link
Copy Markdown
Collaborator Author

qpresley commented Nov 2, 2016

Yeah, will be doing so later today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants