Commit Graph

6 Commits

Author SHA1 Message Date
vyzo
3690eb4923
Merge pull request #21 from libp2p/feat/export-limiter-config
feat: export basic limiter config
2022-04-21 19:43:50 +03:00
Gus Eggert
302a7ea468
feat: export basic limiter config
This is to avoid extra complexity in consumers that expose this config
to users through other means or want to build the config
programmatically, but are currently required to redefine these structs
and keep them in sync. The coupling is already there, we might as well
export these structs and reduce maintenance costs.
2022-04-21 12:14:27 -04:00
Gus Eggert
9c55f3b55f
fix: typos in config err msgs 2022-04-19 06:55:40 -04:00
Gus Eggert
bd73ae3052
fix: decode peer IDs from limits.json (#19) 2022-04-18 16:19:21 -04:00
vyzo
575eadee04 refactor limit defaults for easy access and user manipulation 2022-01-17 12:33:01 +02:00
vyzo
868c93bbd7 add limit json config parser 2022-01-17 12:33:01 +02:00