From 592703065a6d5f24f2342a88b77071b227ad52cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20CORTIER?= Date: Thu, 14 Nov 2024 22:10:11 +0900 Subject: [PATCH] . --- crates/job-queue-libsql/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/job-queue-libsql/src/lib.rs b/crates/job-queue-libsql/src/lib.rs index 65bad6d6..31c4b249 100644 --- a/crates/job-queue-libsql/src/lib.rs +++ b/crates/job-queue-libsql/src/lib.rs @@ -159,8 +159,8 @@ impl JobQueue for LibSqlJobQueue { (id, instance_id, failed_attempts, status, name, def) VALUES (:id, :instance_id, :failed_attempts, :status, :name, jsonb(:def))"; - // UUID v4 provides no other information than randomness which cause fragmentation. - // Reduce index fragmentation by using ULID instead. + // UUID v4 only provides randomness, which leads to fragmentation. + // We use ULID instead to reduce index fragmentation. // https://github.com/ulid/spec let id = Uuid::from(Ulid::new());