Skip to content

Commit

Permalink
Spellcheck and coverage
Browse files Browse the repository at this point in the history
Signed-off-by: naglera <[email protected]>
  • Loading branch information
naglera committed Jul 7, 2024
1 parent bf445fa commit 1a8ed72
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -2728,7 +2728,7 @@ void replStreamProgressCallback(size_t offset, int readlen, time_t *last_progres
if (server.loading_process_events_interval_bytes &&
(offset + readlen) / server.loading_process_events_interval_bytes >
offset / server.loading_process_events_interval_bytes &&
now - *last_progress_callback > server.loading_process_events_interval_miliseconds) {
now - *last_progress_callback > server.loading_process_events_interval_milliseconds) {
replicationSendNewlineToPrimary();
processEventsWhileBlocked();
*last_progress_callback = now;
Expand Down
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ void initServerConfig(void) {
server.primary_repl_offset = 0;
server.fsynced_reploff_pending = 0;
server.rdb_client_id = -1;
server.loading_process_events_interval_miliseconds = LOADING_PROCESS_EVENTS_INTERVAL_DEFAULT;
server.loading_process_events_interval_milliseconds = LOADING_PROCESS_EVENTS_INTERVAL_DEFAULT;

/* Replication partial resync backlog */
server.repl_backlog = NULL;
Expand Down
2 changes: 1 addition & 1 deletion src/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -1753,7 +1753,7 @@ struct valkeyServer {
off_t loading_loaded_bytes;
time_t loading_start_time;
off_t loading_process_events_interval_bytes;
time_t loading_process_events_interval_miliseconds;
time_t loading_process_events_interval_milliseconds;
/* Fields used only for stats */
time_t stat_starttime; /* Server start time */
long long stat_numcommands; /* Number of processed commands */
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/auth.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ start_server {tags {"auth_binary_password external:skip"}} {
# Configure the replica with masterauth
set loglines [count_log_lines 0]
$slave config set primaryauth "abc"
$slave config set dual-conn-sync-enabled
$slave config set dual-conn-sync-enabled $rdbchann
$slave slaveof $master_host $master_port

# Verify replica is not able to sync with master
Expand Down

0 comments on commit 1a8ed72

Please sign in to comment.