@miso.ai/server-commons 0.6.5-beta.11 → 0.6.5-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sink/bps.js +2 -2
package/package.json
CHANGED
package/src/sink/bps.js
CHANGED
|
@@ -11,7 +11,7 @@ export default class BpsSink {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
_normalizeOptions({
|
|
14
|
-
writesPerSecond =
|
|
14
|
+
writesPerSecond = 10,
|
|
15
15
|
recordsPerSecord = 100000,
|
|
16
16
|
bytesPerSecond = 100 * 1024 * 1024,
|
|
17
17
|
...options
|
|
@@ -90,7 +90,7 @@ export default class BpsSink {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
_targetWps(timestamp) {
|
|
93
|
-
return this._options.
|
|
93
|
+
return this._options.writesPerSecond;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
}
|