mirror of
https://codeberg.org/YGGverse/ytd.git
synced 2026-04-08 12:55:32 +00:00
include items processed from the database entries collected
This commit is contained in:
parent
a8fda09d8e
commit
1befbfbe16
3 changed files with 3 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -2458,7 +2458,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ytd"
|
name = "ytd"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ytd"
|
name = "ytd"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,7 @@ async fn main() {
|
||||||
match database.get(&item.id) {
|
match database.get(&item.id) {
|
||||||
Ok(id) => {
|
Ok(id) => {
|
||||||
if id.is_some() {
|
if id.is_some() {
|
||||||
|
items_processed += 1;
|
||||||
debug!(
|
debug!(
|
||||||
"item `{}` for channel `{c}` already processed; skip handle.",
|
"item `{}` for channel `{c}` already processed; skip handle.",
|
||||||
item.id
|
item.id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue