Skip to content

Commit

Permalink
rmeove mongodb prefix on connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Signorini committed Jan 16, 2019
1 parent 7f0b28b commit 205b3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -85,7 +85,7 @@ apidoc -i app/controller/ -o docs/
|------------------------------|--------------------------|--------------------------------------------|
| MAESTRO_PORT | 5010 | port used |
| MAESTRO_GWORKERS | 2 | DB string connection | Gunicorn multi process |
| MAESTRO_MONGO_URI | localhost | MongoDB URL |
| MAESTRO_MONGO_URI | mongodb://localhost | MongoDB URL |
| MAESTRO_MONGO_DATABASE | maestro-client | Database name |
| MAESTRO_SCAN_QTD | 200 | Prefetch limit |
| | | |
Expand Down
2 changes: 1 addition & 1 deletion instance/config.py
Expand Up @@ -13,7 +13,7 @@

class Config(object):
TESTING = os.environ.get("TESTING", False)
DATABASE_URI = "mongodb://" + os.environ.get("MAESTRO_MONGO_URI", "localhost")
DATABASE_URI = os.environ.get("MAESTRO_MONGO_URI", "mongodb://localhost")
DATABASE_NAME = os.environ.get("MAESTRO_MONGO_DATABASE", "maestro-client")
RESTFUL_JSON = {'cls': DateTimeEncoder}

Expand Down

0 comments on commit 205b3b7

Please sign in to comment.