Skip to content

Commit

Permalink
Merge branch 'lut_view' of https://github.com/Tom-TBT/omero-web into …
Browse files Browse the repository at this point in the history
…lut_view
  • Loading branch information
Tom-TBT committed Nov 16, 2024
2 parents c592bfb + 84b14b3 commit eb48769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omeroweb/webgateway/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2179,8 +2179,8 @@ def luts_png(request, conn=None, **kwargs):
buffer.seek(0)

# Cache the image using the version-based key
# Cache timeout shouldn't be too low, lut png generation takes time
cache.set(cache_key, buffer.getvalue(), 3600)
# Cache timeout set to None (no timeout)
cache.set(cache_key, buffer.getvalue(), None)

return HttpResponse(buffer.getvalue(), content_type="image/png")

Expand Down

0 comments on commit eb48769

Please sign in to comment.