Replaced identity by Meta. Fixing meta equality issues
This commit is contained in:
parent
69d1a3a848
commit
0af120d72f
@ -188,7 +188,7 @@ public class NumassDataLoader extends AbstractLoader implements ObjectLoader<Env
|
|||||||
|
|
||||||
double timeCoef = envelope.meta().getDouble("time_coeff", 50);
|
double timeCoef = envelope.meta().getDouble("time_coeff", 50);
|
||||||
try (ReadableByteChannel inChannel = envelope.getData().getChannel()) {
|
try (ReadableByteChannel inChannel = envelope.getData().getChannel()) {
|
||||||
ByteBuffer buffer = ByteBuffer.allocate(7 * 1000); // one event is 7b
|
ByteBuffer buffer = ByteBuffer.allocate(7 * 10000); // one event is 7b
|
||||||
buffer.order(ByteOrder.LITTLE_ENDIAN);
|
buffer.order(ByteOrder.LITTLE_ENDIAN);
|
||||||
while (inChannel.read(buffer) > 0) {
|
while (inChannel.read(buffer) > 0) {
|
||||||
buffer.flip();
|
buffer.flip();
|
||||||
|
Loading…
Reference in New Issue
Block a user