Skip to content

Commit

Permalink
Prefix env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Apr 29, 2024
1 parent 7bb39a7 commit 677fbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, filters, meta, template, sockets):
self.SEARCH_QUEUE = []
self.MAX_MEMORY_CACHE_GB = 1

self.MAX_MEMORY_CACHE_GB = float(os.getenv('MAX_MEMORY_CACHE_GB', self.MAX_MEMORY_CACHE_GB))
self.MAX_MEMORY_CACHE_GB = float(os.getenv('SEARCH_MAX_MEMORY_CACHE_GB', self.MAX_MEMORY_CACHE_GB))
self.getLogger().info("Starting search node")


Expand Down

0 comments on commit 677fbdd

Please sign in to comment.