Get rid of partial param loading mechanism

Simplify device loading for better performance in most case, and the
potential for further optimizations to follow.
This commit is contained in:
Zaid Abdulla committed 2019-06-05 00:17:36 -07:00
1 parent f4c9321d4d
commit c5553d95c5
4 files changed
+112 -449

No files matched your search

-2
View File
@@ -50,7 +50,6 @@ export interface DeviceData {
paths: PathSet;
timestamps: VersionedMap<Path, number>;
attributes: VersionedMap<Path, Attributes>;
loaded: Map<Path, number>;
trackers: Map<Path, { [name: string]: number }>;
changes: Set<string>;
}
@@ -118,7 +117,6 @@ export interface SessionContext {
httpRequest?: IncomingMessage;
faultsTouched?: { [channel: string]: boolean };
presetCycles?: number;
toLoad?: Map<Path, number>;
new?: boolean;
debug?: boolean;
state: number;