We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c7a72c commit 7bde553Copy full SHA for 7bde553
2 files changed
Gemfile.lock
@@ -1,6 +1,6 @@
1
GIT
2
remote: https://github.com/umbrellio/rabbit_messaging.git
3
- revision: 975cdf925ab5102c0234bfcf2732dbaaa49a0ed3
+ revision: f4bad61660daf33fdb038e533556290c7d6ad9d8
4
branch: compression-for-publisher-and-reciver
5
specs:
6
rabbit_messaging (1.8.0)
lib/table_sync/publishing/message/raw.rb
@@ -21,7 +21,7 @@ def initialize(params = {})
21
self.headers = params[:headers]
22
self.custom_version = params[:custom_version]
23
self.event = params[:event]
24
- self.compress = params.fetch(:compress, false)
+ self.compress = params.dig(:headers, :compress) || false
25
end
26
27
def publish
0 commit comments