Jump to content

question


Desaster

Recommended Posts

I've set a timer that makes me I approx 15 query every 1 sec I wanted to ask you if it's make lag if I make many timers and if it makes a difference or not if I make the timer every 100 msec or every second and is there a query limit in the seconds because sometimes my server crahed and told me Notice : 350000 qery in the last 10 second :P

thnx

Link to comment

You're going to cause massive lag if you set a timer to do most things 15 times a second. I'm sure whatever you're querying will work just as well if you do it once a second or even once every 5 seconds. If your server crashed with that error then there's your proof. You should get into a habit of not using timers unless you absolutely need to, as they are not the most efficient way of doing things :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...