mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-18 04:24:29 -05:00
new defaults
This commit is contained in:
parent
656bfbdfa4
commit
9659eecc48
@ -77,9 +77,7 @@ class DHTRecordPool with AsyncTableDBBacked<DHTRecordPoolAllocations> {
|
|||||||
static Future<DHTRecordPool> instance() async {
|
static Future<DHTRecordPool> instance() async {
|
||||||
return instanceSetupMutex.protect(() async {
|
return instanceSetupMutex.protect(() async {
|
||||||
if (_singleton == null) {
|
if (_singleton == null) {
|
||||||
final routingContext = (await Veilid.instance.routingContext())
|
final routingContext = await Veilid.instance.routingContext();
|
||||||
.withPrivacy()
|
|
||||||
.withSequencing(Sequencing.preferOrdered);
|
|
||||||
|
|
||||||
final globalPool = DHTRecordPool._(Veilid.instance, routingContext);
|
final globalPool = DHTRecordPool._(Veilid.instance, routingContext);
|
||||||
globalPool._state = await globalPool.load();
|
globalPool._state = await globalPool.load();
|
||||||
|
Loading…
Reference in New Issue
Block a user