Bump scaling to 1000.

Note the error in integer arithmetic
This commit is contained in:
Nils O. Selåsdal
2013-10-12 01:28:20 +02:00
parent 8a76210661
commit 3d93ec6091
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ucore/rate_limit.h"
#define SCALE_FACTOR 100
#define SCALE_FACTOR 1000
void uc_ratelimit_init(struct RateLimit *r, long tickets, long period, long current_ts)