Commit Graph

13 Commits

Author SHA1 Message Date
Nils O. Selåsdal 267451f37f Fix RATE_LIMIT_INITIALIZER 2014-09-08 22:27:28 +02:00
Nils O. Selåsdal 225943aef7 Improve doxygen documentation. 2014-08-26 21:39:08 +02:00
Nils O. Selåsdal 15a3cbb59a Small refactoring of ratelimit code to make more sense 2014-03-09 23:54:48 +01:00
Nils O. Selåsdal 9c440723e8 Add C++ guards 2013-11-14 13:30:21 +01:00
Nils O. Selåsdal 262958b8a0 Rework rate limit to only refill when needed 2013-10-16 19:22:53 +02:00
Nils O. Selåsdal 934088ca4a Remove ticket_cost member as it is no longer needed 2013-10-15 22:31:57 +02:00
Nils O. Selåsdal 0a36c669c6 More ratelimit optimizations 2013-10-15 21:35:10 +02:00
Nils O. Selåsdal 28514c0a57 More limits clarification 2013-10-15 15:44:12 +02:00
Nils O. Selåsdal f4e7ad0fe6 Note the limits on tickets and period 2013-10-15 15:23:32 +02:00
Nils O. Selåsdal 763032fb04 Greatly improve the rate limit algorithm, so it is correct for a low
ticket to period ratio.
2013-10-15 15:03:27 +02:00
Nils O. Selåsdal 3d93ec6091 Bump scaling to 1000.
Note the error in integer arithmetic
2013-10-12 01:28:20 +02:00
Nils O. Selåsdal 8a76210661 Comment rate_limit.h 2013-10-11 23:54:37 +02:00
Nils O. Selåsdal 06083a054e Add rate limit API 2013-10-09 22:55:29 +02:00