mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-26 00:33:12 +09:00
critical bugfix
This commit is contained in:
1 parent
dd9e8d5029
commit
d394426958
1 file changed
+1
-1
@@ -499,7 +499,7 @@ function instanceManagement() {
|
|||||||
for(let key in flowStat2) totalFlows[key] = flowStat2[key];
|
for(let key in flowStat2) totalFlows[key] = flowStat2[key];
|
||||||
if(oldFlowStats && totalFlows && oldTimestamp) {
|
if(oldFlowStats && totalFlows && oldTimestamp) {
|
||||||
// todo: Migrate this to JSON.parse(JSON.stringify())
|
// todo: Migrate this to JSON.parse(JSON.stringify())
|
||||||
let payload = objectOps.clone(totalFlows);
|
let payload = objectOps.deepclone(totalFlows);
|
||||||
// change from total reported to per time unit
|
// change from total reported to per time unit
|
||||||
for(let key in oldFlowStats) {
|
for(let key in oldFlowStats) {
|
||||||
// get production per minute
|
// get production per minute
|
||||||
|
|||||||
Reference in new issue
Block a user