… | |
… | |
1076 | not impose any limits). |
1076 | not impose any limits). |
1077 | |
1077 | |
1078 | If the feed does not queue more requests when called, it will be |
1078 | If the feed does not queue more requests when called, it will be |
1079 | automatically removed from the group. |
1079 | automatically removed from the group. |
1080 | |
1080 | |
1081 | If the feed limit is C<0>, it will be set to C<2> automatically. |
1081 | If the feed limit is C<0> when this method is called, it will be set to |
|
|
1082 | C<2> automatically. |
1082 | |
1083 | |
1083 | Example: |
1084 | Example: |
1084 | |
1085 | |
1085 | # stat all files in @files, but only ever use four aio requests concurrently: |
1086 | # stat all files in @files, but only ever use four aio requests concurrently: |
1086 | |
1087 | |
… | |
… | |
1097 | |
1098 | |
1098 | Sets the feeder limit for the group: The feeder will be called whenever |
1099 | Sets the feeder limit for the group: The feeder will be called whenever |
1099 | the group contains less than this many requests. |
1100 | the group contains less than this many requests. |
1100 | |
1101 | |
1101 | Setting the limit to C<0> will pause the feeding process. |
1102 | Setting the limit to C<0> will pause the feeding process. |
|
|
1103 | |
|
|
1104 | The default value for the limit is C<0>, but note that setting a feeder |
|
|
1105 | automatically bumps it up to C<2>. |
1102 | |
1106 | |
1103 | =back |
1107 | =back |
1104 | |
1108 | |
1105 | =head2 SUPPORT FUNCTIONS |
1109 | =head2 SUPPORT FUNCTIONS |
1106 | |
1110 | |