process_pending

Function process_pending 

Source
async fn process_pending(client: &Client, pool: &PgPool, config: &RdioConfig)
Expand description

Drains one batch of pending uploads.

Queries up to BATCH_SIZE pending rows, uploads each, and records the outcome in the database. All errors are logged at warn level and swallowed — a failure on one row never blocks the others.