Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit c01dc2c

Browse files
committed
fix: disable workers router
1 parent 6b097d8 commit c01dc2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/core/ipns/routing/config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const PubsubDatastore = require('./pubsub-datastore')
55
const OfflineDatastore = require('./offline-datastore')
66
const DnsDatastore = require('./experimental/dns-datastore')
77
const MDnsDatastore = require('./experimental/mdns-datastore')
8-
const WorkersDatastore = require('./experimental/workers-datastore')
8+
// const WorkersDatastore = require('./experimental/workers-datastore')
99
const ExperimentalTieredDatastore = require('./experimental/tiered-datastore')
1010
/**
1111
* @typedef { import("../../index") } IPFS
@@ -21,7 +21,8 @@ module.exports = (ipfs) => {
2121
// Setup online routing for IPNS with a tiered routing composed by a DHT and a Pubsub router (if properly enabled)
2222
const ipnsStores = []
2323
if (ipfs._options.EXPERIMENTAL.ipnsDNS) {
24-
ipnsStores.push(new WorkersDatastore(ipfs._options.ipns))
24+
// something is wrong with the workers code disabled for now
25+
// ipnsStores.push(new WorkersDatastore(ipfs._options.ipns))
2526
ipnsStores.push(new DnsDatastore(ipfs._options.ipns))
2627
ipnsStores.push(new MDnsDatastore(ipfs._options.ipns))
2728
return new ExperimentalTieredDatastore(ipnsStores)

0 commit comments

Comments
 (0)