Skip to content

Commit 7bde553

Browse files
committed
f
1 parent 7c7a72c commit 7bde553

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/umbrellio/rabbit_messaging.git
3-
revision: 975cdf925ab5102c0234bfcf2732dbaaa49a0ed3
3+
revision: f4bad61660daf33fdb038e533556290c7d6ad9d8
44
branch: compression-for-publisher-and-reciver
55
specs:
66
rabbit_messaging (1.8.0)

lib/table_sync/publishing/message/raw.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def initialize(params = {})
2121
self.headers = params[:headers]
2222
self.custom_version = params[:custom_version]
2323
self.event = params[:event]
24-
self.compress = params.fetch(:compress, false)
24+
self.compress = params.dig(:headers, :compress) || false
2525
end
2626

2727
def publish

0 commit comments

Comments
 (0)