Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 8f8f95f

Browse files
author
Sachin Maheshwari
committed
removing sleep to reproduce issue at dev
1 parent 108c737 commit 8f8f95f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/services/ProcessorService.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,22 @@ async function processCreate (message, ubahnToken) {
6565
isInactive: !message.payload.active
6666
}, ubahnToken)
6767
logger.info(`external profile: ${organizationId} created`)
68-
await helper.sleep()
68+
//await helper.sleep()
6969
await helper.createUserAttribute(userId, _.get(attributes, 'isAvailable'), message.payload.active.toString(), ubahnToken)
7070
logger.info('user attribute: isAvailable created')
71-
await helper.sleep()
71+
//await helper.sleep()
7272
await helper.createUserAttribute(userId, _.get(attributes, 'company'), 'Topcoder', ubahnToken)
7373
logger.info('user attribute: company created')
74-
await helper.sleep()
74+
//await helper.sleep()
7575
await helper.createUserAttribute(userId, _.get(attributes, 'title'), 'Member', ubahnToken)
7676
logger.info('user attribute: title created')
77-
await helper.sleep()
77+
//await helper.sleep()
7878
await helper.createUserAttribute(userId, _.get(attributes, 'location'), location, ubahnToken)
7979
logger.info('user attribute: location created')
8080

8181
// Custom attribute. May or may not exist
8282
if (_.get(attributes, 'email')) {
83-
helper.sleep()
83+
//helper.sleep()
8484
await helper.createUserAttribute(userId, _.get(attributes, 'email'), message.payload.email, ubahnToken)
8585
logger.info('user attribute: email created')
8686
}

0 commit comments

Comments
 (0)