alisaifee/limits

get_num_acquired() is returning no matter how many times I acquire it.

Nebulizer1213 opened this issue · 0 comments

I am doing self.db.get_num_acquired(db_key, self.db.get_expiry(db_key)) after doing self.db.acquire_entry(limit=self.max_calls, key=db_key, expiry=self.period) and it is still returning 0. Shouldn't it be 1?