centralized_ruby_logger 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/manager.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96d713cbb6f0070230dc0acf280a0fee81a0dbeb
|
4
|
+
data.tar.gz: 7528b01bc50db46bcd8954389068192b63043e3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8452e580acab17f20fe4cd17a09b59f1230d29ebb8df41b21146b3977581da4559251385541023b7a20b477c9cd453c3688c27a7fa4e83ac097c2ee8fece15f5
|
7
|
+
data.tar.gz: 1bf5b8153feaedfef3dd0880b551cb656e81a4e2e48ea5ab97f104a9c5ca1953b6487e33bac9b90e050444c46f97f07c2a59a4e0f567948af7a784cede7c8ee8
|
data/lib/manager.rb
CHANGED
@@ -133,7 +133,7 @@ module Coralogix
|
|
133
133
|
|
134
134
|
# If the size is bigger than the maximum allowed chunk size then split it by half.
|
135
135
|
# Keep splitting it until the size is less than MAX_LOG_CHUNK_SIZE
|
136
|
-
while (@buffer.take(size).join(",").bytesize > MAX_LOG_CHUNK_SIZE)
|
136
|
+
while (@buffer.take(size).join(",").bytesize > MAX_LOG_CHUNK_SIZE) && (size > 0)
|
137
137
|
size=size/2;
|
138
138
|
end
|
139
139
|
|