Skip to content

Commit

Permalink
Update packages/core/src/utils/object-id.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com>
  • Loading branch information
thecodrr authored Dec 6, 2024
1 parent 029d1fa commit 60c48f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/src/utils/object-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

const MACHINE_ID = Math.floor(Math.random() * 0xffffff);
const pid = Math.floor(Math.random() * 100000) % 0xffff;

const PROCESS_UNIQUE = MACHINE_ID.toString(16).padStart(6, "0") + pid.toString(16).padStart(4, "0");
let index = Math.floor(Math.random() * 0xffffff);

Expand Down

0 comments on commit 60c48f1

Please sign in to comment.