hotcell-server 0.3.0 → 0.3.1
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/hot_cell/operation.rb +2 -1
- data/lib/hot_cell/server/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b2d1b6a8296d8833188c1414bfeb70d7031c8601d520361b10110e832461992
|
|
4
|
+
data.tar.gz: ec7983987f989d78eeeefee5b3fa8b5c5a860d3ae1022ce414172ea553d64938
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 112abfea26523d9592dd208455e70a824937c910f98d910990b2359e0530f8f9fd01348a57b4b067a80ee9a77cf64d36aaf7e4bf704c9cf9c88d99eb324e14f1
|
|
7
|
+
data.tar.gz: 99fbe2141dee8d99e385b3fe825476366bb56988f7ca508a8ff961d302052b3ab656b07b28cce2513e45012e8a8903aac916f62e31931871fb4a55d4dceb2314
|
data/lib/hot_cell/operation.rb
CHANGED
|
@@ -149,7 +149,8 @@ module HotCell
|
|
|
149
149
|
# cost gigabytes of this worker's address space, and took RLIMIT_DATA with it — arriving as a `memory`
|
|
150
150
|
# verdict, which is permanent, for a document whose only crime was being noisy.
|
|
151
151
|
# `pass` hands the tool a set of the worker's own descriptors — an input to read, an output to write —
|
|
152
|
-
# at their existing fd numbers, so the tool reaches them
|
|
152
|
+
# at their existing fd numbers, so the tool reaches them at `Descriptor#fd_path` — `/dev/fd/N`, or the
|
|
153
|
+
# file's own path on macOS, where opening `/dev/fd/N` would share the worker's offset — and no
|
|
153
154
|
# byte is copied onto scratch to give it a filename. A fd handed to a child this way loses its
|
|
154
155
|
# close-on-exec, which is exactly the inheritance wanted, and only for these; the worker's other
|
|
155
156
|
# descriptors are untouched. Passing an fd at its own number cannot collide with the stdio pipes popen3
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hotcell-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Dalessio
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.3.
|
|
18
|
+
version: 0.3.1
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.3.
|
|
25
|
+
version: 0.3.1
|
|
26
26
|
description: |
|
|
27
27
|
Runs a HotCell container. A supervisor listens on two Unix sockets, forks a worker for each request,
|
|
28
28
|
and enforces a wall clock deadline and resource limits on it. Write the work as a subclass of
|
|
@@ -61,8 +61,8 @@ licenses:
|
|
|
61
61
|
- MIT
|
|
62
62
|
metadata:
|
|
63
63
|
homepage_uri: https://github.com/basecamp/hotcell
|
|
64
|
-
source_code_uri: https://github.com/basecamp/hotcell/tree/v0.3.
|
|
65
|
-
changelog_uri: https://github.com/basecamp/hotcell/blob/v0.3.
|
|
64
|
+
source_code_uri: https://github.com/basecamp/hotcell/tree/v0.3.1/hotcell-server
|
|
65
|
+
changelog_uri: https://github.com/basecamp/hotcell/blob/v0.3.1/CHANGELOG.md
|
|
66
66
|
bug_tracker_uri: https://github.com/basecamp/hotcell/issues
|
|
67
67
|
rubygems_mfa_required: 'true'
|
|
68
68
|
rdoc_options: []
|