Skip to content

Commit

Permalink
Merge branch 'stalwartlabs:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
vickunwu authored Jan 16, 2025
2 parents 58ee7a0 + b325acf commit 97a91b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/jmap/src/services/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use store::{
roaring::RoaringBitmap,
write::{
key::{DeserializeBigEndian, KeySerializer},
BatchBuilder, Bincode, BlobOp, MaybeDynamicId, TaskQueueClass, ValueClass,
now, BatchBuilder, Bincode, BlobOp, MaybeDynamicId, TaskQueueClass, ValueClass,
},
IterateParams, Serialize, ValueKey, U32_LEN, U64_LEN,
};
Expand Down Expand Up @@ -284,7 +284,7 @@ impl Indexer for Server {
TaskQueue(TaskQueueEvent::Locked),
AccountId = event.account_id,
DocumentId = event.document_id,
Expires = trc::Value::Timestamp(event.lock_expiry()),
Expires = trc::Value::Timestamp(now() + event.lock_expiry()),
);
}
result
Expand Down

0 comments on commit 97a91b1

Please sign in to comment.