Prefer natural sort order for req_id

This commit is contained in:
Anton Belyaev 2016-04-21 15:26:01 +03:00
parent aa354f02fb
commit 7cbc74e35e

View File

@ -174,4 +174,4 @@ init(woody_client_sup) ->
make_req_id(Seq) -> make_req_id(Seq) ->
BinSeq = genlib:to_binary(Seq), BinSeq = genlib:to_binary(Seq),
SnowFlake = snowflake:serialize(snowflake:new(?MODULE)), SnowFlake = snowflake:serialize(snowflake:new(?MODULE)),
<<BinSeq/binary, $:, SnowFlake/binary>>. <<SnowFlake/binary, $:, BinSeq/binary>>.