Skip to content

Commit

Permalink
unacked msg sending ack bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
idanasulin2706 committed Apr 19, 2023
1 parent 8106419 commit 1ff1cb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Message {
else {
let buf = this.connection.JSONC.encode({
id: parseInt(this.message.headers.get('$memphis_pm_id')),
cgName: this.message.headers.get('$memphis_pm_cg_name')
cg_name: this.message.headers.get('$memphis_pm_cg_name')
});
this.connection.brokerManager.publish('$memphis_pm_acks', buf);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/tsconfig.build.tsbuildinfo

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class Message {
else {
let buf = this.connection.JSONC.encode({
id: parseInt(this.message.headers.get('$memphis_pm_id')),
cgName: this.message.headers.get('$memphis_pm_cg_name')
cg_name: this.message.headers.get('$memphis_pm_cg_name')
});

this.connection.brokerManager.publish('$memphis_pm_acks', buf);
Expand Down

0 comments on commit 1ff1cb9

Please sign in to comment.