storj/private/testplanet
Ethan 21a5d70a83 satellite/metainfo: Rate limiting - API requests
Limits how many times metainfo APIs can be called per second by project ID. If limit is exceeded, the API will return Unauthorized/Too Many requests.

Limit per second and the size of the limiter cache per project are configurable, as well as whether the limiter is enabled.

Tests added/updated for the new rate_limit field in projects table.
Tests added for exceeding limits and disableing limiter.

Change-Id: Ic8ad102de3b690a475809d4f684156d5715f20fa
2020-01-21 14:25:04 +00:00
..
dir.go private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
planet_test.go common: separate repository 2019-12-27 14:11:15 +02:00
planet.go common: separate repository 2019-12-27 14:11:15 +02:00
reconfigure.go common: separate repository 2019-12-27 14:11:15 +02:00
referralmanager.go common: separate repository 2019-12-27 14:11:15 +02:00
rpc_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run.go satellite/accounting: refactor live accounting to hold current estimated totals 2020-01-16 10:26:49 -05:00
satellite.go satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
storagenode.go lib/uplinkc: fix test flakiness by setting MaxTimeSkew 2020-01-20 12:44:42 +00:00
tlsopts_test.go common: separate repository 2019-12-27 14:11:15 +02:00
uplink_test.go uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
uplink.go cmd: rename "scope" flag to "access" 2020-01-10 15:27:53 +00:00
versioning.go private/testplanet: use defaultInterval 2020-01-14 16:07:36 +00:00