Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOP Time-Outs #177

Open
KKruszynska opened this issue Jul 29, 2024 · 1 comment
Open

MOP Time-Outs #177

KKruszynska opened this issue Jul 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@KKruszynska
Copy link
Collaborator

On some days/times MOP time outs and doesn't allow Users to load the Target Details page. It may be occurring at the same time, or near times when run_TAP, fit_needed_PSPL, or other resource-consuming management commands are running. This is inconvinient if the User wants to only check the status of the event.

@KKruszynska KKruszynska added the bug Something isn't working label Jul 29, 2024
@rachel3834
Copy link
Contributor

I agree, but there are sound underlying reasons for this.

MOP's target detail page offers the user the option to edit target parameters. MOP has several background processes running at intervals which also edit the target parameters. If a user accesses the target edit options at the same time as one of those processes, we have a potential data integrity issue.

So at the moment, MOP's background processes are designed in such a way as to lock access to a target if it is one of those which a management command is currently operating on. Once this process finishes, this lock is released, and the user can access the target detail page again.

This is a design choice, and alternative options could be imagined. For example it might be possible to grey-out the edit option from a target detail page that is being operated on, but still allow the user to view the page. That is a subtly that I will need input on from the TOM Dev team, so I've created this TOM issue to start that conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants