Raised This Month: $51 Target: $400
 12% 

Threaded queries limit per second?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 09-20-2011 , 15:17   Threaded queries limit per second?
Reply With Quote #1

This post says threaded queries are "limited to 20 queries per second by sourcemod". Would queries be dropped or delayed if I added more than 20 queries per second?

For example lets say I call 60 queries in 1 second. Will 40 of those queries be dropped or will it just take 3 seconds to run them all?
hlstriker is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 09-20-2011 , 15:21   Re: Threaded queries limit per second?
Reply With Quote #2

They will just be delayed, they don't get dropped.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 09-20-2011 , 15:24   Re: Threaded queries limit per second?
Reply With Quote #3

Thanks
hlstriker is offline
Dravu
Senior Member
Join Date: May 2010
Old 10-29-2012 , 21:07   Re: Threaded queries limit per second?
Reply With Quote #4

This thread is about a year old, but I figured it'd be more useful to post here than create a whole new thread.

Where is the limit of 20 queries actually at? Is there an easy(ish) way to modify this limit?
Dravu is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 10-29-2012 , 21:36   Re: Threaded queries limit per second?
Reply With Quote #5

Think time is 20 ms since 1.4.3, so, you should be able to run 50~ querys per second.

Yours sincerely
Impact
__________________

Last edited by Impact123; 10-29-2012 at 21:39.
Impact123 is offline
Dravu
Senior Member
Join Date: May 2010
Old 10-29-2012 , 22:56   Re: Threaded queries limit per second?
Reply With Quote #6

Quote:
Originally Posted by Impact123 View Post
Think time is 20 ms since 1.4.3, so, you should be able to run 50~ querys per second.

Yours sincerely
Impact
That was both informative and cured my curiousity over where the change was made. Thank you very much!
Dravu is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 10-30-2012 , 05:11   Re: Threaded queries limit per second?
Reply With Quote #7

Quote:
Originally Posted by Dravu View Post
That was both informative and cured my curiousity over where the change was made. Thank you very much!
In the changelog Impact123 posted, there is a link to the bugtracker thread where the change is displayed.

It's the constant DEFAULT_THINK_TIME_MS.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
Dravu
Senior Member
Join Date: May 2010
Old 10-30-2012 , 18:29   Re: Threaded queries limit per second?
Reply With Quote #8

Quote:
Originally Posted by berni View Post
In the changelog Impact123 posted, there is a link to the bugtracker thread where the change is displayed.

It's the constant DEFAULT_THINK_TIME_MS.
That's what I was referring to in my post. I didn't mean to come off as sarcastic.
Dravu is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode