reduce session id to only session id, node stands separately

This commit is contained in:
Jonathan Shook 2023-08-30 00:57:49 -05:00
parent f0d0f20898
commit 0e7d90f9b7

View File

@ -188,6 +188,10 @@ public class SystemId {
}
public static String genSessionCode(long epochMillis) {
return packLong(epochMillis);
}
public static String genSessionAndNodeCode(long epochMillis) {
return packLong(epochMillis) + "_" + getPackedNodeId();
}