Skip to content

Commit

Permalink
yard_id was not excluded from in-mem flush
Browse files Browse the repository at this point in the history
  • Loading branch information
cviolbarbosa committed Jan 21, 2025
1 parent d566fae commit d7d45ea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,10 @@ class InMemDB {
bufferedData[key].updt_per_sec = updtPerSecond;
}

// State information is exclusively saved by state_event_handler module
// Information is exclusively saved by state_event_handler or checkin_event_handler module
delete bufferedData[key]['status'];
delete bufferedData[key]['resources'];
delete bufferedData[key]['yard_id'];

// Delete properties that are relevant only for agents:
if (tableName !== 'agents') {
Expand Down

0 comments on commit d7d45ea

Please sign in to comment.