Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Adding UUID v4 type keys. #153

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+3 −1
Split
@@ -65,8 +65,10 @@ init(Config) ->
DBShards = boss_env:get_env(db_shards, []),
CacheEnable = boss_env:get_env(cache_enable, false),
IsMasterNode = boss_env:is_master_node(),
+ DBKeyType = boss_env:get_env(db_keytype, serial),
DBOptions1 = [{adapter, DBAdapter}, {cache_enable, CacheEnable},
- {shards, DBShards}, {is_master_node, IsMasterNode}|DBOptions],
+ {shards, DBShards}, {is_master_node, IsMasterNode},
+ {db_keytype, DBKeyType}|DBOptions],
boss_db:start(DBOptions1),