Hello,
While profiling vicidial on huge list loading I have found, that function lookup_gmt, that called for every lead, take much time for execution. Main reason - it includes every time when called dbconnect.php, and cause reading astguiclient.conf reading.
I have improved this place by changing include(dbconnect.php) to global $link, as soon as $link to database is the only data needed from dbconnect.php. Does this change proper and can it be committed to feature version of vicidial?