Fixed 'available' loop in tcpPortHandler. Dramatic improvement in performance.
This commit is contained in:
parent
3226c1aebc
commit
1faf5b452c
@ -13,7 +13,6 @@ configurations {
|
||||
compile.exclude module: 'groovy'
|
||||
compile.exclude module: 'groovy-all'
|
||||
compile.exclude module: 'shichimifx'
|
||||
compile.exclude module: 'jssc'
|
||||
compile.exclude module: 'zt-zip'
|
||||
}
|
||||
|
||||
|
@ -261,7 +261,7 @@ public class PKT8Device extends PortSensor<PKT8Result> {
|
||||
.map(it -> ((StorageConnection) it.getKey()).getStorage()).collect(Collectors.toList());
|
||||
|
||||
storages.forEach(storage -> {
|
||||
String suffix = Integer.toString((int) DateTimeUtils.now().toEpochMilli());
|
||||
String suffix = Long.toString(DateTimeUtils.now().toEpochMilli());
|
||||
|
||||
PointLoader pointLoader = null;
|
||||
try {
|
||||
|
@ -1,12 +1,18 @@
|
||||
apply plugin: 'application'
|
||||
|
||||
version = "0.4.1"
|
||||
version = "0.4.2"
|
||||
|
||||
if (!hasProperty('mainClass')) {
|
||||
ext.mainClass = 'inr.numass.readvac.app.ReadVac'
|
||||
}
|
||||
mainClassName = mainClass
|
||||
|
||||
configurations {
|
||||
compile.exclude module: 'groovy'
|
||||
compile.exclude module: 'groovy-all'
|
||||
compile.exclude module: 'shichimifx'
|
||||
compile.exclude module: 'zt-zip'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':numass-storage:numass-client')
|
||||
|
Loading…
Reference in New Issue
Block a user