rspec-abq 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/abq/version.rb +1 -1
- data/lib/rspec/abq.rb +3 -0
- 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: 1b166fd4c2ba3722370ca2dad745e0d5e5267de565934dfe5091012b86a41a9b
|
4
|
+
data.tar.gz: 4d493113ceefa919ad5429fbf290373def78fa3eeea9bcc20e13d7c49f17f96c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50ab4b5fdd2e94bcaac06f3947d4ae3116f0182a54e107db90b99c3abb51a24545d063af4ab9b1397c20d3a9df66da14dbb65bed695cd252227180efd866827
|
7
|
+
data.tar.gz: 4d1ad622e266f237285fc18e26b0ad7dc96de1902cb85051555643c26abb6fc8461551a5f834b49f21d3fcf7c7433a2d82ee539a4bf67ef99ab7e9f8b77ac8a4
|
data/lib/rspec/abq/version.rb
CHANGED
data/lib/rspec/abq.rb
CHANGED
@@ -124,6 +124,9 @@ module RSpec
|
|
124
124
|
# @!visibility private
|
125
125
|
def self.socket
|
126
126
|
@socket ||= TCPSocket.new(*ENV[ABQ_SOCKET].split(":")).tap do |socket|
|
127
|
+
# Messages sent to/received from the ABQ worker should be done so ASAP.
|
128
|
+
# Since we're on a local network, we don't care about packet reduction here.
|
129
|
+
socket.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
|
127
130
|
protocol_write(PROTOCOL_VERSION_MESSAGE, socket)
|
128
131
|
end
|
129
132
|
end
|