3 nbdkit-retry-request-filter - retry single requests on error
7 nbdkit --filter=retry-request PLUGIN
8 [retry-request-retries=N] [retry-request-delay=N]
9 [retry-request-open=false]
13 C<nbdkit-retry-request-filter> is a filter for nbdkit that
14 transparently retries single requests if they fail. This is useful
15 for plugins that are not completely reliable or have random behaviour.
16 For example L<nbdkit-curl-plugin(1)> might behave this way if pointed
17 at a load balancer which sometimes redirects to a web server that is
20 An alternative filter with different trade-offs is
21 L<nbdkit-retry-filter(1)>. That filter is more heavyweight because it
22 always reopens the whole plugin connection on failure.
28 =item B<retry-request-retries=>N
30 The number of times any single request will be retried before we give
31 up and fail the operation. The default is 2.
33 =item B<retry-request-delay=>N
35 The number of seconds to wait before retrying. The default is 2
38 =item B<retry-request-open=false>
40 If set to false, do not retry opening the plugin. The default is to
41 treat plugin open in the same way as other requests.
49 =item F<$filterdir/nbdkit-retry-request-filter.so>
53 Use C<nbdkit --dump-config> to find the location of C<$filterdir>.
59 C<nbdkit-retry-filter> first appeared in nbdkit 1.30.
65 L<nbdkit-readahead-filter(1)>,
66 L<nbdkit-retry-filter(1)>.