Test: Connected Peers Receive Pushes

This commit is contained in:
sukhman
2025-06-02 22:42:45 +05:30
parent b7d62c0f85
commit ae16909f79
2 changed files with 16 additions and 1 deletions

View File

@ -40,7 +40,7 @@ logger = logging.getLogger(__name__)
ID_PUSH = TProtocol("/ipfs/id/push/1.0.0")
PROTOCOL_VERSION = "ipfs/0.1.0"
AGENT_VERSION = get_agent_version()
LIMIT = trio.CapacityLimiter(10)
LIMIT = trio.Semaphore(10)
def identify_push_handler_for(host: IHost) -> StreamHandlerFn: