mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-01-23 22:11:19 -05:00
use default routing context now
This commit is contained in:
parent
e02e96a65d
commit
f8e0b61bc8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user