Simplify datagrepper generator code
Simplify datagrepper generator code

Use a one-line lambda instead of a nested function definition and use a
constant for the number of worker threads in the
concurrent.futures.ThreadPoolExecutor.

yazman/statscache,yazman/statscache,yazman/statscache