use default routing context now

This commit is contained in:
Christien Rioux 2023-11-05 21:17:13 -05:00
parent e02e96a65d
commit f8e0b61bc8

View File

@ -77,10 +77,7 @@ class DHTRecordPool with AsyncTableDBBacked<DHTRecordPoolAllocations> {
static Future<DHTRecordPool> instance() async {
return instanceSetupMutex.protect(() async {
if (_singleton == null) {
final routingContext = (await Veilid.instance.routingContext())
.withPrivacy()
.withSequencing(Sequencing.preferOrdered);
final routingContext = await Veilid.instance.routingContext();
final globalPool = DHTRecordPool._(Veilid.instance, routingContext);
globalPool._state = await globalPool.load();
_singleton = globalPool;