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