Fixed excessive resource hashmap size

This commit is contained in:
Mark Qvist 2021-05-16 17:33:55 +02:00
parent b0369585e0
commit e8f7e4a5b7

View File

@ -742,7 +742,7 @@ class Resource:
class ResourceAdvertisement: class ResourceAdvertisement:
HASHMAP_MAX_LEN = 75 HASHMAP_MAX_LEN = 73
COLLISION_GUARD_SIZE = 2*Resource.WINDOW_MAX+HASHMAP_MAX_LEN COLLISION_GUARD_SIZE = 2*Resource.WINDOW_MAX+HASHMAP_MAX_LEN
def __init__(self, resource=None): def __init__(self, resource=None):