aMule Bug Tracker - aMule | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000494 | aMule | Sharedfiles | public | 2005-06-29 14:16 | 2005-07-05 12:29 |
Reporter | eyalzo | ||||
Assigned To | Xaignar | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 2.0.3 | ||||
Target Version | Fixed in Version | SVN | |||
Fixed in Revision | |||||
Operating System | |||||
Summary | 0000494: Clients with score zero stay in queue | ||||
Description | Some clients in upload queue might get score of zero, and stay there (almost) forever. It makes all the new uploaders to get into queue, even when there are some empty slots waiting for them. | ||||
Steps To Reproduce | |||||
Additional Information | The problem is that direct-add is used only when upload-queue is empty. But it won't be empty if these guys won't get their slot or kicked-out. It can be solved in one of several ways. I decided to give them a slot. The easiest way is to change UploadQueue.cpp, AddUpNextClient(), the line: if ( cur_score > bestscore){ To: if ( cur_score >= bestscore){ You can also use signed-int for bestscore, and start with -1. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2005-06-29 14:16 | eyalzo | New Issue | |||
2005-07-05 03:28 | Xaignar | Status | new => acknowledged | ||
2005-07-05 12:29 | Xaignar | Status | acknowledged => resolved | ||
2005-07-05 12:29 | Xaignar | Fixed in Version | => CVS | ||
2005-07-05 12:29 | Xaignar | Resolution | open => fixed | ||
2005-07-05 12:29 | Xaignar | Assigned To | => Xaignar | ||
2005-07-05 12:29 | Xaignar | Note Added: 0001122 |
Notes | |||||
|
|||||
|
|