This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# api limit = 2 | |
# refresh interval = 1 second | |
# is_allowed(source_ip) | |
class RateLimit | |
Api_limit = 2 | |
Refresh_interval = 1 | |
Active_users = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am glenuidev on github. | |
* I am glen (https://keybase.io/glen) on keybase. | |
* I have a public key whose fingerprint is 6341 C252 729B 8A65 CEDC 3ECC 5B19 BA88 31F7 A68E | |
To claim this, I am signing this object: |