View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001375aMuleExternal Connpublic2008-08-10 04:342009-01-18 21:33
ReporterBandeira 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version2.2.2 
Target VersionFixed in Version 
Summary0001375: Fix for UP boost
Description// Fix boost for UploadClient.cpp

{
                case PR_POWERSHARE: //added for powershare (deltaHF)
                filepriority = 2500;
                break; //end
            case PR_VERYHIGH:
                filepriority = 32;
                break;
            case PR_HIGH:
                filepriority = 18;
                break;
            case PR_LOW:
                filepriority = 6;
                break;
            case PR_VERYLOW:
                filepriority = 2;
                break;
            case PR_NORMAL:
            default:
                filepriority = 12;
                break;
        }
        
/* I made some comparisons these were the values that I had better results.
*
* Best regards.
*
* Cabral Bandeira. root@bitnew.net
*/
TagsNo tags attached.
Fixed in Revision
Operating SystemAny
Attached Files

- Relationships

-  Notes
(0003043)
Bandeira (reporter)
2009-01-10 18:18

And best options for credits.



    if (GetDownloadedTotal() < 2048000) {
        return 1.0f;
    }
    
    float result = 0.0f;
    if (!GetUploadedTotal()) {
        result = 10.0f;
    } else {
        result = (GetDownloadedTotal() * 2.0f) / GetUploadedTotal();
    }
    
    float result2 = sqrt((GetDownloadedTotal() / 1024000) + 2.0f);
    if (result > result2) {
        result = result2
(0003060)
Wuischke (manager)
2009-01-17 22:50

I'm inclined just to say "no", but to be fair: What changes did you made? And why are they better than the default?
(0003063)
Bandeira (reporter)
2009-01-18 21:33

Hi Wuischke.

Who has credit rises faster in the queue, having a better balance download/upload.

And with an option to remove users who are in a long queue upload. Ex: remove users after 1 or more hours of waiting.

Because he who has no credit can not download, is only in the queue.

- Issue History
Date Modified Username Field Change
2008-08-10 04:34 Bandeira New Issue
2008-08-10 04:34 Bandeira Operating System => Any
2009-01-10 18:18 Bandeira Note Added: 0003043
2009-01-17 22:50 Wuischke Note Added: 0003060
2009-01-17 22:50 Wuischke Status new => feedback
2009-01-18 21:33 Bandeira Note Added: 0003063


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker