tep 0.11.1 → 0.11.2
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/tep/app.rb +7 -0
- data/lib/tep/version.rb +1 -1
- 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: d69b5bf2070f8476c240f2d4ad1c0a14d111d1011737bd0339811bf7915c3318
|
|
4
|
+
data.tar.gz: 2f7e495e12fdf876999e7c49e4b98f04ac92e2b9a275c260e065551e890d7dd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1501e534c029c1819f6b4a868d0392dcf12672a24a6bf35239d1c4aaacd75555e0b59406905af94e614452640026c2a65f182fdccbc5b931a9fa568b6567fe60
|
|
7
|
+
data.tar.gz: 5b96806e47ae6c826133acf5e88b46976698dc076f869723198fca643327a35651f600e95f5c9bf999c9201d2788e2b24cef234313ae8cf089b4e67541eaa587
|
data/lib/tep/app.rb
CHANGED
|
@@ -102,6 +102,13 @@ module Tep
|
|
|
102
102
|
# load order means PG::Connection isn't safely callable from
|
|
103
103
|
# App#initialize when this is loaded before pg.rb's full surface.
|
|
104
104
|
@nf_handler = Handler.new
|
|
105
|
+
# No-op default so a never-mounted OpenAI server doesn't leave
|
|
106
|
+
# @openai_events null. Tep.on_shutdown calls openai_events.enabled?
|
|
107
|
+
# unconditionally; under Spinel a null receiver is a hard null-deref
|
|
108
|
+
# (not a NoMethodError), so any app that doesn't call
|
|
109
|
+
# Tep::Llm::OpenAI::Server.serve! would SEGV on shutdown after a
|
|
110
|
+
# SIGTERM. "" => enabled? is false (zero I/O). (matz/spinel#1259)
|
|
111
|
+
@openai_events = Tep::Events.new("")
|
|
105
112
|
@asset_bodies = Tep.str_hash # path -> bytes (filled at boot
|
|
106
113
|
@asset_mimes = Tep.str_hash # by Tep::Assets._add lines
|
|
107
114
|
# the bin/tep translator emits)
|
data/lib/tep/version.rb
CHANGED