Marten Seemann
|
84936a75e4
|
deprecate this repo
|
2022-08-19 11:16:55 +03:00 |
|
Marco Munizaga
|
65deaac7da
|
Add docs around WithAllowlistedMultiaddrs. Expose allowlist
|
2022-07-03 07:52:09 -07:00 |
|
Marco Munizaga
|
eb72b52bd8
|
Add allowlist limit config option
|
2022-07-02 15:18:52 +02:00 |
|
Marco Munizaga
|
836d53a98d
|
Fix go vet issue
|
2022-07-01 12:02:11 -07:00 |
|
Marco Munizaga
|
5abae10710
|
Filter out spans
|
2022-07-01 12:02:11 -07:00 |
|
Marco Munizaga
|
7efd81c617
|
Add scope name helpers
|
2022-07-01 12:01:43 -07:00 |
|
Marco Munizaga
|
6607ffe4dc
|
Merge pull request #47 from libp2p/marco/allowlist
feat: Allowlist
|
2022-07-01 11:59:18 -07:00 |
|
Marco Munizaga
|
8c5643aa2f
|
Add GetAllowlist()
|
2022-06-27 15:42:00 -07:00 |
|
Marco Munizaga
|
2bb066a2ce
|
Export Allowlist type
|
2022-06-27 15:39:26 -07:00 |
|
Marco Munizaga
|
61008b316c
|
Only use allowlist if the normal resource scopes would have failed
|
2022-06-27 15:04:27 -07:00 |
|
Marco Munizaga
|
1bf5e930ee
|
Fuse with if above
|
2022-06-27 13:59:26 -07:00 |
|
Marco Munizaga
|
a41033230f
|
Persist endpoint
|
2022-06-15 15:25:40 -07:00 |
|
Marco Munizaga
|
dc09a97d9b
|
Fix allowlist system instantiation
|
2022-06-15 15:22:01 -07:00 |
|
Marco Munizaga
|
539b1476fc
|
Use the same standard limits for the allowlistedSystem and allowlistedTransient
|
2022-06-14 11:48:56 -07:00 |
|
Marco Munizaga
|
84ca9d337a
|
PR comments
|
2022-06-14 11:46:26 -07:00 |
|
Marco Munizaga
|
297cd00321
|
Fix comment
|
2022-06-13 16:39:00 -07:00 |
|
Marco Munizaga
|
1fcd41c418
|
Add allowlist to rcmgr
|
2022-06-09 22:36:17 -07:00 |
|
Marten Seemann
|
100309ee2e
|
fix shadowing of service name (#37)
|
2022-06-03 13:42:58 +02:00 |
|
vyzo
|
55f8c59909
|
add Allow metrics
|
2022-02-14 17:20:12 +02:00 |
|
vyzo
|
8a85c1fbce
|
blocked memory reservation metrics
|
2022-02-12 13:59:46 +02:00 |
|
vyzo
|
019fe3da54
|
simplify metrics method names
|
2022-02-12 13:52:47 +02:00 |
|
vyzo
|
6d91069894
|
metrics collection support
|
2022-02-11 18:26:23 +02:00 |
|
vyzo
|
961bd2b66e
|
avoid the nil is not nil footgun
|
2022-02-03 08:51:08 +02:00 |
|
vyzo
|
139296e625
|
make protocols and peers sticky when setting their limit
this is typically a user action, so prevent them from being garbage collected
and losing their limit.
|
2022-01-19 11:09:32 +02:00 |
|
vyzo
|
98870b0c0c
|
tracing instrumentation
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
0c16aa4cd4
|
add options to NewResourceManager constructor
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
12fcd1d521
|
log, don't panic on resource release bugs
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
5d609db2bc
|
rename constraints to edges
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
90d7e860a0
|
introduce per protocol peer limits, don't transfer resources out of protocol when setting the service
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
488f08cb1d
|
add test for per service peer limits
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
5487b6bdac
|
add support for per service peer limits
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a5e4e5a670
|
move resource from protocol to service when a service for a stream is set
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7bc4ce25f2
|
named scopes for better errors to aid debugging resource allocation failures
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a0dc35d9c6
|
update for reservation interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7ea1d27783
|
update for memory status indicator
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
92edf5f224
|
update for interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
bf44d21414
|
proper mutex hat
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
aed2c69d3c
|
unexport implementation types
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
3973696b28
|
manage fds together with connss
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
1d5f0c9ad2
|
update for interface changes; RIP buffers.
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
c3b6ce61b7
|
resource manager test, fix bugz
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
79d15fa18c
|
consolidate Rerve/ReleaseForChild in aggregate method
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
6427759aab
|
some cleanup for rcmgr scopes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
62105f3a71
|
consistent ref counting
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
efe5e36d58
|
update implementation for interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a42700a439
|
make connection/stream Done idempotent
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
0b5b506b8c
|
move ref counting to resource scopes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
71b70cd48b
|
implement scope viewers
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
3422b8cbde
|
add ResourceManager constructor and peer/protocol scope gc
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
cff880ac60
|
flesh out resource manager
|
2022-01-17 12:33:01 +02:00 |
|