FDGD3UXJDQEX6RTFD3HCIS6LR6IIEJSE45BTE27BZVITC5N7ID7AC
LK5WKUD6FMEMC4QSLNGB6GSF5P52TGPDSRS6UNAXXGA5HRJZ2FAAC
3PGDQGVPBKZ3T4RJTKB7VZFF7UZFOL6CUFX6TCGOHLOG5UIQYS6AC
CQ6AWLHKLF4KQCJPGBSF3AVHUKR2VH26IISD7VEL2E7Z7FAK6R7QC
7SSDATWD4YOCDC3UQKKJI5T7E6HM6E4DEA4BFUAM5LAIT5WHEWAQC
DIJO2HGF3PO7BSYOUZN2DMHU2SRR6CLQ245XKXSETZPJHF6RRKDAC
Logger.info("Processing #{book.title} (#{book.author})")
|> Task.async_stream(fn p -> process_paragraph(p, book_id) end, timeout: :infinity )
|> Task.async_stream(fn p -> process_paragraph(p, book_id) end,
timeout: :infinity
)
|> Stream.map(fn p -> process_paragraph(p, book_id) end)
Logger.info("Processed #{book.title} (#{book.author})")
%{title: title, author: author}
%{title: title, author: author}, timeout: 25000
%{title: title, author: author},
timeout: 25000
timeout: 60000
timeout: 120_000, queue_target: 1500, queue_interval: 5000
timeout: 120_000,
queue_target: 1500,
queue_interval: 5000