Posts: 285
Threads: 154
Joined: Mar 2016
Reputation:
0
Hi,
I can save vehicles info in that callback? like i do cikle all vehicles
Posts: 37
Threads: 1
Joined: Sep 2015
Reputation:
0
08.04.2016, 14:44
(
Последний раз редактировалось Akbaig; 08.04.2016 в 15:17.
)
I don't think so, I recommend to use a timer, so that you can backup all the vehicles after some minutes like after 5 mins or so..
That's a better idea.
Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
Yes you can, but keep in mind that if you terminate server and not exit carefully that callback wont be called.
Best way would be to save them with timer
Posts: 1,206
Threads: 39
Joined: Feb 2014
Reputation:
0
Another approach would be to save data when it's changed and not all at once. It spreads workload rather than bundling it.