Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Members: 0

Guests: 17

34.203.x.x forum
40.77.x.x download
42.156.x.x forum
46.4.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x dilbertplus
54.36.x.x lgsl
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x lgsl
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x dilbertplus
91.242.x.x comment

Last Seen

mrstipfan Wed 19:48
Gagi2 Mon 16:30
EFiNST0RM Sun 15:39
85filip58 Sun 12:14
brlight Tue 04:18

Newest Members

refresh time on lgsl
Fri Jan 30 2009, 10:07AM
Posts: 17
Joined: Thu Jan 22 2009, 12:59AM
Registered Member #4752
I have a problem.On my new site i have 8 zone servers (maxmimum) and in the list of servers i have 100!
The problem is, when i refresh, the plugin don't show detalis for all server always.Some times appears like that, and if i refresh 1-2-3 more times, it's all ok:

What i can do in plugin to wait long but appear all server or to fix the problem?
Sat Jan 31 2009, 11:06AM
Posts: 1717
Joined: Wed Nov 26 2003, 04:30PM

Querying a server takes about 0.5 seconds, which is fine for a few servers, but with 100 it would take 50 seconds for the page to load.

So LGSL has a 'live' time setting, which stops querying, and only uses cached information after a few seconds. You can increase this live time in the lgsl_config, but the page loading times will increase to match.

The better solution is to use cron to call the lgsl_cron, this refreshes and caches the servers in advance, so that when someone views the list it will load quickly.

You can find instructions on how to setup the cron in the included readme.txt

Jump:     Back to top

You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © - Richard Perry - Powered by