{"action":"closed","issue":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/173","labels_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/173/comments","events_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/173/events","html_url":"https://github.com/strongloop/loopback-connector-mongodb/issues/173","id":102585898,"number":173,"title":"Slow creation of access tokens","user":{"login":"faustomorales","id":9735401,"avatar_url":"https://avatars.githubusercontent.com/u/9735401?v=3","gravatar_id":"","url":"https://api.github.com/users/faustomorales","html_url":"https://github.com/faustomorales","followers_url":"https://api.github.com/users/faustomorales/followers","following_url":"https://api.github.com/users/faustomorales/following{/other_user}","gists_url":"https://api.github.com/users/faustomorales/gists{/gist_id}","starred_url":"https://api.github.com/users/faustomorales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faustomorales/subscriptions","organizations_url":"https://api.github.com/users/faustomorales/orgs","repos_url":"https://api.github.com/users/faustomorales/repos","events_url":"https://api.github.com/users/faustomorales/events{/privacy}","received_events_url":"https://api.github.com/users/faustomorales/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-23T04:13:03Z","updated_at":"2015-08-23T06:41:47Z","closed_at":"2015-08-23T06:41:47Z","body":"For some reason, when Loopback creates access tokens in my application, they take a really, really long time. It happens when I run the application from a server, but not from my laptop (both are connected to MongoLab). Once the login takes place, performance is the same between the two. Any idea what the cause may be? An example log is provided below.\r\n\r\n````\r\nloopback:connector:mongodb create +58s AccessToken { id: 'BDvH79mPtrYOs3xF65AYEyJiWsjYefbt8n52WHnWlDFZWBi518kKzJZs0ZQdgyNv',\r\n  ttl: 1209600,\r\n  created: Sat Aug 22 2015 23:08:54 GMT-0500 (CDT),\r\n  userId: 55c92d0ed1af5d1fb40af658 }\r\n````"}}