Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0135e05

Browse filesBrowse files
committed
Bugfix: Redis: Typo
1 parent b7feecb commit 0135e05
Copy full SHA for 0135e05

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎llama_cpp/server/app.py

Copy file name to clipboardExpand all lines: llama_cpp/server/app.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def create_app(settings: Optional[Settings] = None):
122122
if settings.redishost != 'None':
123123
global rediscon
124124
try:
125-
redscon = redis.StrictRedis(host=settings.redishost, port=settings.redisport, db=settings.redisdb)
125+
rediscon = redis.StrictRedis(host=settings.redishost, port=settings.redisport, db=settings.redisdb)
126+
print(rediscon)
126127
except Exception as e:
127128
print(e)
128129

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.