summaryrefslogtreecommitdiff
path: root/src/fabric/src/fabric_db_create.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/fabric/src/fabric_db_create.erl')
-rw-r--r--src/fabric/src/fabric_db_create.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric/src/fabric_db_create.erl b/src/fabric/src/fabric_db_create.erl
index a7f4ed9d6..d793f4f13 100644
--- a/src/fabric/src/fabric_db_create.erl
+++ b/src/fabric/src/fabric_db_create.erl
@@ -56,7 +56,7 @@ validate_dbname(DbName, Options) ->
end.
generate_shard_map(DbName, Options) ->
- {MegaSecs, Secs, _} = now(),
+ {MegaSecs, Secs, _} = os:timestamp(),
Suffix = "." ++ integer_to_list(MegaSecs*1000000 + Secs),
Shards = mem3:choose_shards(DbName, [{shard_suffix,Suffix} | Options]),
case mem3_util:open_db_doc(DbName) of