I was looking trough the scripts for an hour now and can find the function that despawns Loot and Wrecks.
My plan is to increase the timer because i quite often had the problem that when a fight was over, all the upgrades despawned.
A friend even mined a Wreck and before he was done (huge station) it despawned.
Does anyone have an idea where to increase it?