Fix NoneStream model has wrong downsampling (#9088)
This commit is contained in:
parent
68e48811b4
commit
e02f7efd0c
|
|
@ -57,7 +57,8 @@
|
|||
* Remove `Layer` concept form `Process`.
|
||||
* Update to list all eBPF profiling schedulers without duration.
|
||||
* Storage(ElasticSearch): add search options to tolerate inexisting indices.
|
||||
* Fix the problem that `MQ` has the wrong `Layer` type
|
||||
* Fix the problem that `MQ` has the wrong `Layer` type.
|
||||
* Fix NoneStream model has wrong downsampling(was Second, should be Minute).
|
||||
|
||||
#### UI
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ public class NoneStreamProcessor implements StreamProcessor<NoneStream> {
|
|||
|
||||
ModelCreator modelSetter = moduleDefineHolder.find(CoreModule.NAME).provider().getService(ModelCreator.class);
|
||||
// None stream doesn't read data from database during the persistent process. Keep the timeRelativeID == false always.
|
||||
Model model = modelSetter.add(streamClass, stream.scopeId(), new Storage(stream.name(), false, DownSampling.Second), true);
|
||||
Model model = modelSetter.add(streamClass, stream.scopeId(), new Storage(stream.name(), false, DownSampling.Minute), true);
|
||||
|
||||
final NoneStreamPersistentWorker persistentWorker = new NoneStreamPersistentWorker(moduleDefineHolder, model, noneStream);
|
||||
workers.put(streamClass, persistentWorker);
|
||||
|
|
|
|||
Loading…
Reference in New Issue