Skip to content

Commit

Permalink
Merge branch 'release/1.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pof Magicfingers committed Dec 29, 2018
2 parents 792caba + ce1a499 commit 4245b2e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: node_js
sudo: false

node_js:
- "6.11.3"
- 10

services:
- mongodb
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "podcloud-feeds",
"version": "1.1.2",
"version": "1.1.3",
"description": "GraphQL API for podcloud",
"scripts": {
"test": "NODE_ENV=test mocha --opts test/mocha.opts",
Expand Down
5 changes: 4 additions & 1 deletion src/connectors/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ function mongo_connect(conn_str) {
const mongo = Mongoose.connect(
conn_str,
{
useMongoClient: true
useMongoClient: true,
autoReconnect: true,
reconnectTries: Number.MAX_VALUE,
bufferMaxEntries: 0
},
err => {
if (err) {
Expand Down

0 comments on commit 4245b2e

Please sign in to comment.