dragonflydb/dragonfly

refactor DbSlice::ExpireParams

Fechada

#3.634 aberto em 3 de set. de 2024

 (13 comentários) (0 reação) (1 responsável)C++ (1.177 forks)batch import
good first issue

Métricas do repositório

Stars
 (30.465 estrelas)
Métricas de merge de PR
 (Mesclagem média 2d 11h) (201 fundiu PRs em 30d)

Description

we have several fields in DbSlice::ExpireParams: int64_t value = INT64_MIN; // undefined TimeUnit unit = TimeUnit::SEC; bool absolute = false;

All these fields can be exchanged with one int64_t ms_timestamp, that will be created in the constructor or method.

Guia do colaborador