Fixed excessive resource hashmap size
This commit is contained in:
parent
b0369585e0
commit
e8f7e4a5b7
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue