Skip to content

Use shared mongoose

username-removed-892863 requested to merge feature/use-shared-mongoose into develop

Use shared mongoose instance, require('gitter-web-mongoose-bluebird') for what we mongoose.connect and mongoose.connection.once('open', ...)

I'm not sure why this suddenly stopped working but the app no longer starts unless I make this change as we wait for mongo in several places.

  • mongoose@4.6.8
  • @gitterhq/env@0.33.0

mongoose.connection.once('open', ...)

Edited by username-removed-892863

Merge request reports