Skip to content

Commit

Permalink
fix: Resolved custom redis problem
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Oct 7, 2024
1 parent c2a3f39 commit 9851775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upsonic_on_prem/api/utils/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def can_access_to_config():
except:
return False

if can_access_to_config():
if can_access_to_config() and redis_host == "localhost":
threading.Thread(target=redis_config).start()
time.sleep(2)

Expand Down

0 comments on commit 9851775

Please sign in to comment.