# be set by Msg.pm stuff if they are left undefined but, if you need
# certanty then set/var them in the startup file.
+our $save_route_cache; # save and restore route cache on restart. Probably only useful for G1TLH testing
+
use vars qw($version $subversion $build $gitversion $gitbranch);
# send a message to call on conn and disconnect
DXDb::closeall;
# Write route cache
- Route::write_cache();
+ Route::write_cache() if $save_route_cache;
# close all listeners
foreach my $l (@listeners) {
}
# read any route cache there might be
- Route::read_cache();
+ Route::read_cache() if $save_route_cache;
# start listening for incoming messages/connects
dbg("starting listeners ...");