lumen-app 0.4.3__py3-none-any.whl → 0.4.4__py3-none-any.whl
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.
- lumen_app/core/server.py +3 -3
- {lumen_app-0.4.3.dist-info → lumen_app-0.4.4.dist-info}/METADATA +1 -1
- {lumen_app-0.4.3.dist-info → lumen_app-0.4.4.dist-info}/RECORD +6 -6
- {lumen_app-0.4.3.dist-info → lumen_app-0.4.4.dist-info}/WHEEL +0 -0
- {lumen_app-0.4.3.dist-info → lumen_app-0.4.4.dist-info}/entry_points.txt +0 -0
- {lumen_app-0.4.3.dist-info → lumen_app-0.4.4.dist-info}/top_level.txt +0 -0
lumen_app/core/server.py
CHANGED
|
@@ -240,7 +240,7 @@ def serve(config_path: str, port_override: int | None = None) -> None:
|
|
|
240
240
|
|
|
241
241
|
# Determine port: CLI override > config file > default
|
|
242
242
|
preferred_port = port_override or config.server.port or 50051
|
|
243
|
-
requested_addr = f"
|
|
243
|
+
requested_addr = f"0.0.0.0::{preferred_port}"
|
|
244
244
|
try:
|
|
245
245
|
bound_port = server.add_insecure_port(requested_addr)
|
|
246
246
|
except RuntimeError as exc:
|
|
@@ -251,7 +251,7 @@ def serve(config_path: str, port_override: int | None = None) -> None:
|
|
|
251
251
|
|
|
252
252
|
if bound_port == 0:
|
|
253
253
|
try:
|
|
254
|
-
bound_port = server.add_insecure_port("
|
|
254
|
+
bound_port = server.add_insecure_port("0.0.0.0:0")
|
|
255
255
|
except RuntimeError as exc:
|
|
256
256
|
logger.error(f"Unable to bind gRPC server to any port: {exc}")
|
|
257
257
|
sys.exit(1)
|
|
@@ -261,7 +261,7 @@ def serve(config_path: str, port_override: int | None = None) -> None:
|
|
|
261
261
|
sys.exit(1)
|
|
262
262
|
|
|
263
263
|
port = bound_port
|
|
264
|
-
listen_addr = f"
|
|
264
|
+
listen_addr = f"0.0.0.0:{port}"
|
|
265
265
|
server.start()
|
|
266
266
|
|
|
267
267
|
# Log server startup info
|
|
@@ -5,7 +5,7 @@ lumen_app/core/config.py,sha256=GcPdmNucQyMFI3ao0bpfKeEsy6diBaTrZsewF6HGCdU,2634
|
|
|
5
5
|
lumen_app/core/installer.py,sha256=xEnG_IIWJ_WnhvMP7vAGgfLsCosyjdeA9uuqdNyDC4A,10189
|
|
6
6
|
lumen_app/core/loader.py,sha256=hZvFJgcEexA4jQHG1T9C7NPO9cvJNzECM9lufkt7cmY,1459
|
|
7
7
|
lumen_app/core/router.py,sha256=CTzpGE4Bd6Y_Cqo0TApzsO6UOh3ZoEsW0d24hzZrBKY,3155
|
|
8
|
-
lumen_app/core/server.py,sha256
|
|
8
|
+
lumen_app/core/server.py,sha256=-TUNBmWS6H_UmjCoo5JmZlsfS76IRtjZEjwHXjQpsjE,13290
|
|
9
9
|
lumen_app/core/service.py,sha256=zIlFMrGtPTHtxZ2Tt5WEDg4dbD7BXPbNGwSrgSSQJPo,1770
|
|
10
10
|
lumen_app/core/tests/__init__.py,sha256=SkFP7Rt_4ARb4aJkRo7GZX0vb2qPUtBCBdb8sqpSWrI,32
|
|
11
11
|
lumen_app/core/tests/test_core_integration.py,sha256=QLEbNB-NdkYaK1SEgxQkvUZecRpcT1kG-YdWRQcJwO8,18965
|
|
@@ -51,8 +51,8 @@ lumen_app/web/static/assets/index-CMWOChkS.css,sha256=bPBZrwn7bpR8l-juEv3wq29d8x
|
|
|
51
51
|
lumen_app/web/static/assets/index-D3p85GRV.js,sha256=KKHpYxUOlJqdeHSQgZNzuNP0Jr87UT5ivP4Irisj45E,427590
|
|
52
52
|
lumen_app/web/websockets/__init__.py,sha256=vMbHZ4P-k7B1UdzE7mjhkZr-RVu6-tOnUnSa073Q7Hc,55
|
|
53
53
|
lumen_app/web/websockets/logs.py,sha256=SAkww3LTzZVAGoQ1I6XCNR3ZQ2dwKTVExC-azotxS3o,4788
|
|
54
|
-
lumen_app-0.4.
|
|
55
|
-
lumen_app-0.4.
|
|
56
|
-
lumen_app-0.4.
|
|
57
|
-
lumen_app-0.4.
|
|
58
|
-
lumen_app-0.4.
|
|
54
|
+
lumen_app-0.4.4.dist-info/METADATA,sha256=czAdrFELSRy3puYsgn1smrQ40ITl2YOFf2BBrscz0IQ,768
|
|
55
|
+
lumen_app-0.4.4.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
56
|
+
lumen_app-0.4.4.dist-info/entry_points.txt,sha256=QAnWp-NWskToo_G26BlC9PG_BZzay0lOGrY8K7DRZdg,98
|
|
57
|
+
lumen_app-0.4.4.dist-info/top_level.txt,sha256=nnPzHSLoCAfZ0Jzyxta4KXtSbyTfMYt-4eALPzDE4dA,10
|
|
58
|
+
lumen_app-0.4.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|