Hi Juha, For DB_ONLY mode, the "timer_interval" - which is used in WRITE_BACK for flushing - is used for deleting the expired contacts. This is how it works not.
The get_all_db_ucontacts() you see every minute is actually because of distributed NAT pinging :) - instead of taking all contacts once at every n seconds, nathelper takes every seconds a subset of contacts (but taking care to scan all contacts within n seconds). So, no worry, not all contacts are load every second :)... Regards, Bogdan Juha Heinanen wrote: > Bogdan-Andrei Iancu writes: > > > On the other hand, get_all_db_ucontacts() is not triggered by usrloc > > module, but by nathelper and mediaproxy, for generating the NAT > > pings. > > ok. no matter whoever causes get_all_db_ucontacts() every second, it > looks like a good idea to make the interval configurable for db_mode=3 > case. loading ALL contacts (which may be MANY) every second sound > really heavy. > > -- juha > > _______________________________________________ Devel mailing list [email protected] http://lists.openser.org/cgi-bin/mailman/listinfo/devel
