Skip to main content
Topic: [r2818] Changing schedule takes a long time (Read 2633 times) previous topic - next topic

[r2818] Changing schedule takes a long time

Recently, changing the schedule of some vehicle that is driving about or waiting at a stop has started taking a long time, probably close to half a minute. Even just telling the vehicle to skip a stop or turn back. It does not seem that the task of calculating a new route should be so time consuming, because vehicles have no problem re-routing to a depot in almost no time. And changing the schedule of a vehicle in a depot is as fast as ever. I have not done any changes in the network that should cause this on a global scale.

Linux, sdl, pak64 r225

Re: [r2818] Changing schedule takes a long time

Reply #1
No, to reuce the load on the computer, I set idle vehicles (and no_route ones) to check for any action every 25s. However, the schedule check should be recognized more faster. I will investigate.

Re: [r2818] Changing schedule takes a long time

Reply #2
I tested r2821. But I think problem is not fully solved yet.

If you open schedule window of a convoi which is belong to a line and close it, convoi keep waiting for long time.

Re: [r2818] Changing schedule takes a long time

Reply #3
Still there is a problem in r2824.

How to reproduce:
1. Set a schedule to convoi and start it.
2. Open schedule window and push "Promote to line" button.
3. Close schedule window.

Re: [r2818] Changing schedule takes a long time

Reply #4
Please test again.