Posts: 25 Joined: Wed Jan 30 2008, 11:09AM Registered Member #3626
In my list ~450 servers.. what i need to set in lgsl_cron.php and in lgsl_config.phpto make my list opening and refreshing fast with correct servers information ?
//------------------------------------------------------------------------------------------------------------+ //[ ADVANCED SETTINGS - DO NOT TOUCH THESE UNLESS YOU REALLY KNOW WHAT YOUR DOING ]
$lgsl_config['live_time'] = 5; // seconds allowed querying servers which prevents page time outs $lgsl_config['cache_time'] = 70; // seconds before the cache is considered old $lgsl_config['retry_offline'] = 0; // 1 will quickly retry servers that ignore the first request $lgsl_config['management'] = 1; // 1 will show advanced management in the admin by default $lgsl_config['public_feed'] = 0; // 1 will allow anyone to add servers to your lgsl database $lgsl_config['cms'] = "sa"; // sets which CMS specific code to use $lgsl_config['url_path'] = ""; // full domain path to /lgsl_files/ for when path detection fails
Posts: 25 Joined: Wed Jan 30 2008, 11:09AM Registered Member #3626
but nothing change.. in HLSW i check some servers and i see in list servers are showing with incorrect info.. (players,map) . i want that: then you refresh list page opens very fast and all info must be correct
Posts: 25 Joined: Wed Jan 30 2008, 11:09AM Registered Member #3626
hmmm.. i dont understand.. maybe you have mean: i need use my other hositing with cPanel, and in cPanel make that: wget -q -O /dev/null http://EXAMPLE.COM/lgsl/lgsl_files/lgsl_cron.php yes ?
i did it . now i have 1 question: Rich maybe now i want to much...? I want when I refresh page (list) all servers new info quickly comes on the list .. but now you can refresh .. refresh but everytime server info is old.. so i close page and wait few minutes..(or just wait few minutes) and then refresh and all info now is correct.. but when i refresh again servers info is old... :/
sorry for bad english, I hope you understand what i write here..
Posts: 25 Joined: Fri Feb 22 2008, 01:20PM Registered Member #3734
If you change this setting :
$lgsl_config['cache_time'] = 70; // seconds before the cache is considered old
It will dump the cache at what ever interval you use, but with that many servers I don't know if that is or isn't a good idea. You better wait for Rich.