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

Add option to re-analyse a node network after making changes #427

Open
spaanse opened this issue Oct 5, 2024 · 2 comments
Open

Add option to re-analyse a node network after making changes #427

spaanse opened this issue Oct 5, 2024 · 2 comments
Assignees
Labels
1-monitor monitor functionality related issue enhancement

Comments

@spaanse
Copy link

spaanse commented Oct 5, 2024

When I add nodes/routes to a node network I want to check if there are any mistakes so I can fix them quickly.
However, the update cycle is about 8 hours, so likely doesn't include my latest changes.
I would like changes to be automatically incorporated (like #368 ) or a button I can click to trigger the analysis again.

I think manual re-analysis is easier to implement while work on #368 continues.
To prevent DOS, it is smart to add two conditions on triggering the re-analysis:

  • User must be logged in with an OSM account
  • Last analysis is at least 5 minutes ago
@vmarc
Copy link
Owner

vmarc commented Oct 5, 2024

@spaanse dankjewel voor deze suggestie en jou inspanningen bij het in kaart brengen van nieuwe knooppuntroutes (ik volg jouw avonturen een beetje via het forum)

The node network analysis already processes all changes automatically. Most of the time the impact of your changes should be visible in knooppuntnet within 5 or 10 minutes.

So all pages under following urls should be near up-to-date all the time:

However, yesterday (October 4th) around 10:16 a problem started with the process of getting the data from OpenStreetMap into knooppuntnet. The replication became very very slow until it stopped completely. This is why you did not see your updates. At this moment replication is working again, and the database is slowly catching up. The database should be up-to-date again later today.


The automatic update does not work yet for the monitoring functionality:

So here a manual re-analysis button will be helpful. This is something I also have wished I had before.

@vmarc vmarc self-assigned this Oct 5, 2024
@vmarc vmarc moved this to Todo in knooppuntnet Oct 5, 2024
@vmarc vmarc added enhancement 1-monitor monitor functionality related issue labels Oct 5, 2024
@spaanse
Copy link
Author

spaanse commented Oct 5, 2024

Thank you, then my issue is solved.
Feel free to rename the issue to change the scope to (super) route analysis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-monitor monitor functionality related issue enhancement
Projects
Status: Todo
Development

No branches or pull requests

2 participants