mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-09-12 06:54:34 +08:00
Fixed Expire value for Locked Task event
This commit is contained in:
parent
4838e5faed
commit
b325acf7b6
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
};
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue