Default to in-memory storage for the proxy (#475)

* Default to in-memory storage for the proxy

This makes it easier for someone to try out or just run the proxy by
executing the binary without further environment setup.

* Remove obsolete comment
This commit is contained in:
Carolyn Van Slyck
2018-08-14 16:54:26 -05:00
committed by Marwan Sulaiman
parent 327fecaedd
commit afd01813e9
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -1,3 +1,4 @@
ATHENS_MONGO_STORAGE_URL=mongodb://127.0.0.1:27017
ATHENS_STORAGE_TYPE=mongo
GO_ENV=test_postgres
POP_PATH=$PWD/cmd/proxy
+1 -2
View File
@@ -18,8 +18,7 @@ import (
// GetStorage returns storage backend based on env configuration
func GetStorage() (storage.BackendConnector, error) {
// changing to mongo storage, memory seems buggy
storageType := env.StorageTypeWithDefault("mongo")
storageType := env.StorageTypeWithDefault("memory")
var storageRoot string
var err error