Skip to content

Commit

Permalink
fix report serialization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dehypnosis committed Jun 8, 2020
1 parent bf211ba commit a223240
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/broker/delegator/moleculer/delegator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/schema/integration.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/schema/integration.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/broker/delegator/moleculer/delegator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,6 @@ export class MoleculerServiceBrokerDelegator extends ServiceBrokerDelegator<Cont
const params = {messages, table};
const payloads = Array.from(service.nodeIdMap.keys())
.map(nodeID => ({action, params, nodeID }));
await this.broker.mcall(payloads, { retries: 0, timeout: 5000 });
await this.broker.mcall(payloads, { retries: 3, timeout: 3000 });
}
}
2 changes: 1 addition & 1 deletion src/schema/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class ServiceAPIIntegration {
from: version.parentVersion && version.parentVersion.toString(),
to: version.toString(),
},
integrations: version.integrations,
integrations: version.integrations.map(int => int.toString()),
updates,
});
}
Expand Down

0 comments on commit a223240

Please sign in to comment.