Skip to content

Commit

Permalink
fix: rename RUNPOD_API_PORT to RUNPOD_REALTIME_PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Jan 23, 2023
1 parent ef98b95 commit 774c75d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runpod/serverless/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def start(config):
'''
Starts the serverless worker.
'''
api_port = os.environ.get('RUNPOD_API_PORT', None)
api_port = os.environ.get('RUNPOD_REALTIME_PORT', None)

if api_port:
api_server = rp_fastapi.WorkerAPI()
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = runpod
version = 0.7.6
version = 0.8.0
description = Official Python library for RunPod API & SDK.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit 774c75d

Please sign in to comment.