mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:27:08 +00:00
Make SmartSource header less verbose.
PostgreSQL NOTIFY has an 8,000 bytes payload limit and we were going over that.
This commit is contained in:
@@ -220,9 +220,9 @@ function parse (buffer) {
|
||||
|
||||
smartsource.guns = [];
|
||||
for (let n=0; n<smartsource.num_guns; n++) {
|
||||
const gunItem = {};
|
||||
const gunItem = [];
|
||||
for (const key of Object.keys(gun)) {
|
||||
gunItem[key] = gun[key](buffer, gunItem);
|
||||
gunItem.push(gun[key](buffer, gunItem));
|
||||
}
|
||||
smartsource.guns.push(gunItem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user