You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let update_rows = client.query("SELECT * FROM channel_updates WHERE short_channel_id = any($1)",&[&channel_ids]).await.unwrap();
122
+
log_info!(logger,"Fetched {} update rows with filtered channels", update_rows.len());
123
+
124
+
// let timestamp_string = format!("{}", last_sync_timestamp);
125
+
let update_rows = client.query("SELECT * FROM channel_updates WHERE seen >= TO_TIMESTAMP($1)",&[&last_sync_timestamp_float]).await.unwrap();
126
+
log_info!(logger,"Fetched {} update rows with filtered seen", update_rows.len());
127
+
128
+
let update_rows = client.query("SELECT * FROM channel_updates WHERE short_channel_id = any($1) AND seen >= TO_TIMESTAMP($2)",&[&channel_ids,&last_sync_timestamp_float]).await.unwrap();
129
+
log_info!(logger,"Fetched {} update rows with filtered channels and seen", update_rows.len());
130
+
}
131
+
115
132
{
116
133
// THIS STEP IS USED TO DETERMINE IF A CHANNEL SHOULD BE OMITTED FROM THE DELTA
log_info!(logger,"Fetched {} update rows of the latest update in the less recently updated direction", older_latest_directional_update_count);
241
+
log_info!(logger,"Fetched {} update rows of the latest update in the less recently updated direction being more than six days ago", older_latest_directional_update_count);
0 commit comments