ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
		- Joined
- Nov 13, 2018
- Messages
- 29,546
- Points
- 823
Reputation:
I noticed that the 
PHP:
	
	
	
		
Continue reading...
	
		
			
		
		
	
			
			$maxBatch sometimes doesn't apply if the $done value is larger than the expected for whatever reason.PHP:
		Code:
	
	public function calculateOptimalBatch($expected, $done, $start, $maxTime, $maxBatch = null)
{
...
    if ($percentSpent > 1)
    {
        return max(1, $newExpected);
    }Continue reading...
 
				