TaskPipe::ThreadManager::Settings - Settings for TaskPipe::ThreadManager



The maximum number of threads to use when running a plan. Taskpipe tries to adhere strictly to the number of threads you specify here - so parent threads are included in the value. You should experiment with your setup to determine the optimum value for your system


The number of minutes after which a thread should be refreshed. Refreshing a thread has the same effect as stopping the thread and running it again - it resumes where it left off, but obviously there is a performance penalty. The point of doing this is to mitigate memory leaks which occur in long running code. The less leaky the code, the longer refresh_mins can be. (However, even LWP::UserAgent and Web::Scraper both appear to leak slightly in long runs, so it is probably better to accept leaks as a fact of life and compensate for them rather than spending hours trying to eliminate them entirely.)


The number of times to retry an update to the thread table in the event of a "serialization failure" (deadlock)


Tom Gracey <>


Copyright (c) Tom Gracey 2018

TaskPipe is free software, licensed under

    The GNU Public License Version 3

1 POD Error

The following errors were encountered while parsing the POD:

Around line 45:

You forgot a '=back' before '=head1'