chore: a small cleanup (#3140)

* chore: a small cleanup

No functional changes.

---------

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-06-06 15:16:52 +03:00 committed by GitHub
parent 53c52273b4
commit 6498f88619
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 16 deletions

View file

@ -2440,7 +2440,7 @@ std::error_code RdbLoaderBase::FromOpaque(const OpaqueObj& opaque, CompactObj* p
void RdbLoader::LoadItemsBuffer(DbIndex db_ind, const ItemsBuf& ib) {
DbSlice& db_slice = EngineShard::tlocal()->db_slice();
DbContext db_cntx{.db_index = db_ind, .time_now_ms = GetCurrentTimeMs()};
DbContext db_cntx{db_ind, GetCurrentTimeMs()};
for (const auto* item : ib) {
PrimeValue pv;