Skip to content

Commit

Permalink
feat: increase expiration flow editor session to 300s
Browse files Browse the repository at this point in the history
  • Loading branch information
teehamaral committed Jul 2, 2024
1 parent 64c8af2 commit f3d4a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion temba/flows/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2368,7 +2368,7 @@ def get(self, request, *args, **kwargs):
if active_editor is not None:
if self.request.user.username == active_editor.decode():
editing_available = True
r.expire(flow_key, 60)
r.expire(flow_key, 300)
else:
reader_session = True
session_expired = False if reader_session else not editing_available
Expand Down

0 comments on commit f3d4a91

Please sign in to comment.