baza.rb 0.9.7 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/baza-rb/version.rb +1 -1
- data/lib/baza-rb.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49dd0eac66fa87b0721be113bef63fef2b1a6e5a940e1d7b50d9cce9e09862d0
|
4
|
+
data.tar.gz: a5f9e460e9ba4aeda8dce60fe3c09921fa7041d977c530c6b917c695c98a41c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19be699a163f2d53d927ff05c787e449efe72b444660218544c2ffb84e91e28a3bd42e2731dbf1a8d4f4726cd02f52d6d39b4f1188838febc56ffe26f003fbf6
|
7
|
+
data.tar.gz: 75145b1a1f5266f18f25ec956c6ef22b252729834a0af61289c5203c4a0133b78b2f303b33928457fa501b2ad0e4ff0a5b8564855146ecf2bab1c4d57d225778
|
data/lib/baza-rb/version.rb
CHANGED
data/lib/baza-rb.rb
CHANGED
@@ -31,8 +31,11 @@ require_relative 'baza-rb/version'
|
|
31
31
|
# Copyright:: Copyright (c) 2024-2025 Yegor Bugayenko
|
32
32
|
# License:: MIT
|
33
33
|
class BazaRb
|
34
|
-
# How big are the chunks we send, by default, in bytes
|
35
|
-
|
34
|
+
# How big are the chunks we send, by default, in bytes.
|
35
|
+
# Numbers larger than 1Mb may lead to problems with the server,
|
36
|
+
# since sending time will be too long and the server may drop
|
37
|
+
# connections. Better keep it as is: 1Mb.
|
38
|
+
DEFAULT_CHUNK_SIZE = 1_000_000
|
36
39
|
|
37
40
|
# When the server failed (503).
|
38
41
|
class ServerFailure < StandardError; end
|