Skip to content

DDP-5479 addressing lockwait error by using same connection throughout.#81

Open
zyme wants to merge 1 commit intoDDP-5479_StreamingGBFfrom
DDP-5479_LockWaitError
Open

DDP-5479 addressing lockwait error by using same connection throughout.#81
zyme wants to merge 1 commit intoDDP-5479_StreamingGBFfrom
DDP-5479_LockWaitError

Conversation

@zyme
Copy link
Collaborator

@zyme zyme commented Dec 30, 2020

DDP-5479 should address this error by using the same Connection throughout.

if (!isReturn) {
if (shouldTriggerEventForKitOnItsWayToParticipant(statusType, oldType)) {
KitDDPNotification kitDDPNotification = KitDDPNotification.getKitDDPNotification(SQL_SELECT_KIT_FOR_NOTIFICATION_EXTERNAL_SHIPPER + SELECT_BY_TRACKING_NUMBER, new String[] { DELIVERED, trackingId }, 2);//todo change this to the number of subkits but for now 2 for test boston works
KitDDPNotification kitDDPNotification = KitDDPNotification.getKitDDPNotification(conn,SQL_SELECT_KIT_FOR_NOTIFICATION_EXTERNAL_SHIPPER + SELECT_BY_TRACKING_NUMBER, new String[] { DELIVERED, trackingId }, 2);//todo change this to the number of subkits but for now 2 for test boston works
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Passing through conn in a few places that I missed earlier.

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.

2 participants