chore: fix typos and introduce ci check (#390)

This commit is contained in:
Sanchith Hegde
2023-01-17 11:38:47 +05:30
committed by GitHub
parent 006e9a8892
commit 74f6d0025e
28 changed files with 199 additions and 240 deletions

View File

@ -33,7 +33,7 @@ async fn drainer_handler(
let drainer_result = drainer(store.clone(), max_read_count, stream_name.as_str()).await;
if let Err(_e) = drainer_result {
//TODO: LOG ERRORs
//TODO: LOG errors
}
let flag_stream_name = utils::get_stream_key_flag(store.clone(), stream_index);

View File

@ -56,7 +56,7 @@ pub async fn trim_from_stream(
.map_err(DrainerError::from)
.into_report()?;
// Since xtrim deletes entires below given id excluding the given id.
// Since xtrim deletes entries below given id excluding the given id.
// Hence, deleting the minimum entry id
redis
.stream_delete_entries(stream_name, minimum_entry_id)