Skip to content

Commit

Permalink
Merge branch 'support-browser-runner' of github.com:amun-ai/hypha int…
Browse files Browse the repository at this point in the history
…o support-browser-runner
  • Loading branch information
oeway committed Dec 3, 2024
2 parents 2c4a648 + cc3defa commit 80fd1b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hypha/core/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -1751,9 +1751,9 @@ async def unload(self, context=None):
)
await self._event_bus.emit(f"unload:{ws}", "Unloading workspace: " + ws)

# if winfo.persistent and self._s3_controller:
# # since the workspace will be persisted, we can remove the workspace info from the redis store
# await self._redis.hdel("workspaces", ws)
if winfo.persistent and self._s3_controller:
# since the workspace will be persisted, we can remove the workspace info from the redis store
await self._redis.hdel("workspaces", ws)

if not winfo.persistent:
# delete all the items in redis starting with `workspaces_name:`
Expand Down

0 comments on commit 80fd1b1

Please sign in to comment.