Skip to content

Commit 0b35e80

Browse files
fix(PubSubApi): remove publish delay, fixes #24
go-ipfs 0.4.14 no longer drop messages because of timer resolution/
1 parent 0d421c4 commit 0b35e80

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/CoreApi/PubSubApi.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ internal PubSubApi(IpfsClient ipfs)
4444

4545
public async Task Publish(string topic, string message, CancellationToken cancel = default(CancellationToken))
4646
{
47-
// Avoid seqno bug in go-floodsub, see https://github.com/libp2p/go-floodsub/issues/52
48-
await Task.Delay(16);
49-
5047
var _ = await ipfs.DoCommandAsync("pubsub/pub", cancel, topic, "arg=" + message);
5148
return;
5249
}

0 commit comments

Comments
 (0)