Rest API - Rate Limiting and Throttling
Find the bug in this fixed window rate limiter code:
window_size = 30
limit = 3
window_start = int(time.time()) // window_size * window_size
count = 0
if time.time() < window_start + window_size:
count += 1
else:
count = 0
