-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Non-statically saved objects are never deactivated #9821
Comments
It's actually quite useful for WorldEdit and signs_lib
So my question here is: |
The train entities can be deleted any time, they restore shortly if they are still needed. |
That was the whole point of the static_save property: to prevent short-lived technical entities from cluttering the whole server. |
Whats the current consensus about this issue? |
Well, my current status is that the advtrains workaround greatly increased server performance, however, we still have issues with get_objects_inside_radius being a huge performance hog. |
Turns out the workaround wasn't complete and the couples still don't get deleted. Essentially all the work shifted onto advtrains developers to reinvent the wheel to fix the issue that should have been fixed with |
I know this isn't a satisfactory situation but I don't think other developers (e.g. signs_lib) would like to have the need for a workaround forced on them to continue their previous usage of |
Minetest version
Summary
Objects with
static_save = false
are never deactivated. See This forum thread for more info. This leads to an entity flood on the server and to severe lag due to the on_step of the entities being run. This is quite bad with advtrains, which makes extensive use of ephemerous entities, that persist in this way.The text was updated successfully, but these errors were encountered: