Oleg

Results 163 comments of Oleg

@Stebalien We have to do it this way. That's what all the other systems and known libraries do. For example - https://www.libtorrent.org/single-page-ref.html#reopen-network-sockets. This is a standard. If we do it...

@Stebalien Once a minute now. Yes. It's a waste of CPU and energy. I've been using a Libp2p-based music player on my Galaxy S22Ultra phone for about a month now,...

@Stebalien > For example, laptop users will frequently switch networks without such external input. My artificial intelligence tells me that Windows has such a callback too :) And I hope...

1. You've already made a library for mobile devices, and I've already written a mobile app based on it. 2. If Libp2p will not be optimized for mobile devices, how...

@Stebalien Your library is very similar in functionality to https://www.libtorrent.org . Why don't you adopt experience of Libtorrent, which has been written and used by billions of people all over...

@Stebalien My mobile app has both Libtorrent and Libp2p. And many different, other libraries. That's the way all mobile apps work. Yes. I understand you want to avoid the scenario...

@Stebalien Good news. In practice, this code is enough. It is not necessary to add new logic. I tested it for a month with unstable internet on my Media Library...

If you create your own DHT network, there is no need to change the limits. And everything will work faster. It's very easy to do.

@marten-seemann The RecourceManager was on and there were 2,800 peers. But it really doesn't matter. The problem was found in the line libp2p.DisableMetrics() There is some bug that prevents disabling...

@sukunrt Yes. Exactly. I get the logs this way: ``` fmt.Println("peer in store: ", len(m.host.Peerstore().Peers())) for _, peerId := range m.host.Peerstore().Peers() { fmt.Println("Peer: ", peerId, " connections: ", len(m.host.Network().ConnsToPeer(peerId))) }...