Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Pass Mongo options to BossDB

  • Loading branch information...
commit 6bc440a579e7c42735b6d5a0b7c0709b9dde7c61 1 parent c3fdb9d
@evanmiller evanmiller authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  README_DATABASE
  2. +2 −1  src/boss/boss_web_controller.erl
View
2  README_DATABASE
@@ -83,7 +83,7 @@ Notes:
3. Open up boss.config and set db_adapter to mnesia
-Using Riak (EXPERIMENTAL)
+Using Riak
-------------------------
Riak is a NoSQL database developed by Basho Technologies.
View
3  src/boss/boss_web_controller.erl
@@ -65,7 +65,8 @@ init(Config) ->
{ok, Val} -> [{OptName, Val}|Acc];
_ -> Acc
end
- end, [], [db_port, db_host, db_username, db_password, db_database]),
+ end, [], [db_port, db_host, db_username, db_password, db_database,
+ db_replication_set, db_read_mode, db_write_mode]),
DBAdapter = boss_env:get_env(db_adapter, mock),
DBShards = boss_env:get_env(db_shards, []),
CacheEnable = boss_env:get_env(cache_enable, false),
Please sign in to comment.
Something went wrong with that request. Please try again.