Cleanup
This commit is contained in:
parent
b3ac3131b5
commit
1bd6020163
@ -149,7 +149,7 @@ class Resource:
|
|||||||
resource.total_parts = int(math.ceil(resource.size/float(Resource.SDU)))
|
resource.total_parts = int(math.ceil(resource.size/float(Resource.SDU)))
|
||||||
resource.received_count = 0
|
resource.received_count = 0
|
||||||
resource.outstanding_parts = 0
|
resource.outstanding_parts = 0
|
||||||
resource.parts = [None] * resource.total_parts
|
resource.parts = [None] * resource.total_parts
|
||||||
resource.window = Resource.WINDOW
|
resource.window = Resource.WINDOW
|
||||||
resource.window_max = Resource.WINDOW_MAX_SLOW
|
resource.window_max = Resource.WINDOW_MAX_SLOW
|
||||||
resource.window_min = Resource.WINDOW_MIN
|
resource.window_min = Resource.WINDOW_MIN
|
||||||
|
Loading…
Reference in New Issue
Block a user