diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-05 23:31:56 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-05 23:31:56 +0200 |
| commit | c8d900349a2a518c5fee9610b6a903a2ff546e50 (patch) | |
| tree | 3e99c3f388068e78743653dec46cf106437a7052 /reduce.js | |
| parent | 075c26e94f16379b302570e689d244edef94cb04 (diff) | |
| download | brokentalents-c8d900349a2a518c5fee9610b6a903a2ff546e50.tar.gz brokentalents-c8d900349a2a518c5fee9610b6a903a2ff546e50.zip | |
cache many small periods on disk and aggregate them
Diffstat (limited to 'reduce.js')
| -rw-r--r-- | reduce.js | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -19,14 +19,10 @@ function aggregatePayloads(config) { R.prop(0), ), R.pipe( - R.project(config.sum), + R.project(R.concat(config.sum, R.of('Count'))), utils.mergeAllWith(R.add), utils.unlist, ), - R.pipe( - R.length, - R.objOf('Count'), - ), ]), ), ); |
